private void addJoinInfo(String type,QueryBuilder<?,?> joinedQueryBuilder,WhereOperation operation) throws SQLException {
  JoinInfo joinInfo=new JoinInfo(type,joinedQueryBuilder,operation);
  matchJoinedFields(joinInfo,joinedQueryBuilder);
  if (joinList == null) {
    joinList=new ArrayList<JoinInfo>();
  }
  joinList.add(joinInfo);
}

private void addJoinInfo ( String type , QueryBuilder < ? , ? > joinedQueryBuilder , WhereOperation operation ) throws SQLException { JoinInfo joinInfo = new JoinInfo ( type , joinedQueryBuilder , operation ) ; matchJoinedFields ( joinInfo , joinedQueryBuilder ) ; if ( joinList == null ) { joinList = new ArrayList < JoinInfo > ( ) ; } joinList . add ( joinInfo ) ; }
add join info to the query . this can be called multiple times to join with more than one table .
