return Collections.singleton(key);
return Collections.EMPTY_LIST;
}
final ClassMapping[] clss = _strat.getIndependentKeyMappings(true);
final JDBCFetchConfiguration fetch = store.getFetchConfiguration();
final Joins[] resJoins = new Joins[Math.max(1, clss.length)];
Union union = store.getSQLFactory().newUnion
(Math.max(1, clss.length));
if (fetch.getSubclassFetchMode(_strat.getFieldMapping().
getKeyMapping().getTypeMapping()) != fetch.EAGER_JOIN)
union.abortUnion();
union.select(new Union.Selector() {
public void select(Select sel, int idx) {
ClassMapping cls = (clss.length == 0) ? null : clss[idx];