594595596597598599600601602603604
if (coll instanceof Proxy) ct = ((Proxy) coll).getChangeTracker(); } // load values Result res = union.execute(store, fetch, parmList); try { int seq = -1; while (res.next()) { if (ct != null && field.getOrderColumn() != null) seq = res.getInt(field.getOrderColumn());
680681682683684685686687688689690
sel.wherePrimaryKey(mapping, cols, cols, oid, store, null, null, parmList); } Result res = union.execute(store, fetch, parmList); try { Object val = null; if (res.next()) val = res.load(rels[res.indexOf()], store, fetch, resJoins[res.indexOf()]);
537538539540541542543544545546547
sel.select(mappings[i], Select.SUBS_ANY_JOINABLE, store, fetch, eager); sel.wherePrimaryKey(sm.getObjectId(), mappings[i], store); } }); return union.execute(this, fetch); } /** * Select primary key data to make sure the given instance exists, locking * if needed.
599600601602603604605606607608609
468469470471472473474475476477478
if (coll instanceof Proxy) ct = ((Proxy) coll).getChangeTracker(); } // load values Result res = union.execute(store, fetch); try { int seq = -1; while (res.next()) { if (ct != null && field.getOrderColumn() != null) seq = res.getInt(field.getOrderColumn());
543544545546547548549550551552553
689690691692693694695696697698699
555556557558559560561562563564565
sel.select(mappings[i], Select.SUBS_ANY_JOINABLE, store, fetch, eager); sel.wherePrimaryKey(sm.getObjectId(), mappings[i], store); } }); Result result = union.execute(this, fetch); cacheFinder(mapping, union, fetch); return result; } /**
819820821822823824825826827828829
sel.select(rels[idx], subs, store, fetch, fetch.EAGER_JOIN, resJoins[idx]); } }); Result res = union.execute(store, fetch); try { Object val = null; if (res.next()) val = res.load(rels[res.indexOf()], store, fetch, resJoins[res.indexOf()]);
601602603604605606607608609610611