12841285128612871288128912901291129212931294
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
12341235123612371238123912401241124212431244
11231124112511261127112811291130113111321133
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); }
518519520521522523524525526527528529530
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(); }
12271228122912301231123212331234123512361237
10701071107210731074107510761077107810791080
12701271127212731274127512761277127812791280
12251226122712281229123012311232123312341235