public Join(String sourceTablePrefix, Property sourceJoinProperty, AbstractDao<DST, ?> daoDestination, Property destinationJoinProperty, String joinTablePrefix) { this.sourceTablePrefix = sourceTablePrefix; this.joinPropertySource = sourceJoinProperty; this.daoDestination = daoDestination; this.joinPropertyDestination = destinationJoinProperty; tablePrefix = joinTablePrefix; whereCollector = new WhereCollector<DST>(daoDestination, joinTablePrefix); }
protected QueryBuilder(AbstractDao<T, ?> dao, String tablePrefix) { this.dao = dao; this.tablePrefix = tablePrefix; values = new ArrayList<Object>(); joins = new ArrayList<Join<T, ?>>(); whereCollector = new WhereCollector<T>(dao, tablePrefix); stringOrderCollation = " COLLATE NOCASE"; }
public Join(String sourceTablePrefix, Property sourceJoinProperty, AbstractDao<DST, ?> daoDestination, Property destinationJoinProperty, String joinTablePrefix) { this.sourceTablePrefix = sourceTablePrefix; this.joinPropertySource = sourceJoinProperty; this.daoDestination = daoDestination; this.joinPropertyDestination = destinationJoinProperty; tablePrefix = joinTablePrefix; whereCollector = new WhereCollector<DST>(daoDestination, joinTablePrefix); }
protected QueryBuilder(AbstractDao<T, ?> dao, String tablePrefix) { this.dao = dao; this.tablePrefix = tablePrefix; values = new ArrayList<Object>(); joins = new ArrayList<Join<T, ?>>(); whereCollector = new WhereCollector<T>(dao, tablePrefix); stringOrderCollation = " COLLATE NOCASE"; }