573574575576577578579580581582583584585
createEmployee3(em, eId3++); tran.begin(); em.flush(); tran.commit(); for (Dependent3 d: deps3) { ObjectId did = (ObjectId)((StateManagerImpl)((PersistenceCapable)d) .pcGetStateManager()).getObjectId(); dids3.add(did.getId()); depMap3.put(did.getId(), d); } em.close(); }
237238239240241242243
return new StringId(cls, (String) oid); if (oid instanceof BigDecimal) return new BigDecimalId(cls, (BigDecimal) oid); if (oid instanceof BigInteger) return new BigIntegerId(cls, (BigInteger) oid); return new ObjectId(cls, oid); }
12721273127412751276127712781279128012811282
case ClassMetaData.ID_APPLICATION: if (ImplHelper.isAssignable(meta.getObjectIdType(), val.getClass())) { if (!meta.isOpenJPAIdentity() && meta.isObjectIdTypeShared()) return new ObjectId(cls, val); return val; } // stringified app id? if (val instanceof String
10691070107110721073107410751076107710781079
10681069107010711072107310741075107610771078
499500501502503504505506507508509510511
12081209121012111212121312141215121612171218
12341235123612371238123912401241124212431244
11421143114411451146114711481149115011511152