/** * Delegate constructor. */ protected LogicalUnion(JDBCConfiguration conf, int sels, Select[] seeds) { if (sels == 0) throw new InternalException("sels == 0"); dict = conf.getDBDictionaryInstance(); mappings = new ClassMapping[sels]; this.sels = new UnionSelect[sels]; SelectImpl seed; for (int i = 0; i < sels; i++) { seed = (seeds == null) ? (SelectImpl) conf.getSQLFactoryInstance().newSelect() : (SelectImpl) seeds[i]; this.sels[i] = newUnionSelect(seed, i); } }
/** * Delegate constructor. */ protected LogicalUnion(JDBCConfiguration conf, int sels, Select[] seeds) { if (sels == 0) throw new InternalException("sels == 0"); dict = conf.getDBDictionaryInstance(); mappings = new ClassMapping[sels]; this.sels = new UnionSelect[sels]; SelectImpl seed; for (int i = 0; i < sels; i++) { seed = (seeds == null) ? (SelectImpl) conf.getSQLFactoryInstance().newSelect() : (SelectImpl) seeds[i]; this.sels[i] = newUnionSelect(seed, i); } }
/** * Delegate constructor. */ protected LogicalUnion(JDBCConfiguration conf, int sels, Select[] seeds) { if (sels == 0) throw new InternalException("sels == 0"); dict = conf.getDBDictionaryInstance(); mappings = new ClassMapping[sels]; this.sels = new UnionSelect[sels]; SelectImpl seed; for (int i = 0; i < sels; i++) { seed = (seeds == null) ? (SelectImpl) conf.getSQLFactoryInstance().newSelect() : (SelectImpl) seeds[i]; this.sels[i] = newUnionSelect(seed, i); } }
/** * Delegate constructor. */ protected LogicalUnion(JDBCConfiguration conf, int sels, Select[] seeds) { if (sels == 0) throw new InternalException("sels == 0"); dict = conf.getDBDictionaryInstance(); mappings = new ClassMapping[sels]; this.sels = new UnionSelect[sels]; SelectImpl seed; for (int i = 0; i < sels; i++) { seed = (seeds == null) ? (SelectImpl) conf.getSQLFactoryInstance().newSelect() : (SelectImpl) seeds[i]; this.sels[i] = newUnionSelect(seed, i); } }
/** * Delegate constructor. */ protected LogicalUnion(JDBCConfiguration conf, int sels, Select[] seeds) { if (sels == 0) throw new InternalException("sels == 0"); dict = conf.getDBDictionaryInstance(); mappings = new ClassMapping[sels]; this.sels = new UnionSelect[sels]; SelectImpl seed; for (int i = 0; i < sels; i++) { seed = (seeds == null) ? (SelectImpl) conf.getSQLFactoryInstance().newSelect() : (SelectImpl) seeds[i]; this.sels[i] = newUnionSelect(seed, i); } }