396397398399400401402403404405406
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.
466467468469470471472473474475476
if (coll instanceof Proxy) ct = ((Proxy) coll).getChangeTracker(); } // load values Result res = union.execute(store, fetch); try { int seq = 0; while (res.next()) { if (ct != null && field.getOrderColumn() != null) seq = res.getInt(field.getOrderColumn());
599600601602603604605606607608609
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()]);
569570571572573574575576577578579
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());
574575576577578579580581582583584
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; } /**
692693694695696697698699700701702
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()]);
603604605606607608609610611612613
601602603604605606607608609610611
814815816817818819820821822823824
546547548549550551552553554555556
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());