/** * Method to return a new object identity for the specified class, and key (possibly toString() output). * @param cls Persistable class * @param key form of the object id * @return The object identity */ public Object getNewApplicationIdentityObjectId(Class cls, Object key) { // TODO Replace this with a non-JDO method return NucleusJPAHelper.getJDOImplHelper().newObjectIdInstance(cls, key); }
/** * Method to return a new object identity for the specified class, and key (possibly toString() output). * @param cls Persistable class * @param key form of the object id * @return The object identity */ public Object getNewApplicationIdentityObjectId(Class cls, Object key) { // TODO Replace this with a non-JDO method return NucleusJPAHelper.getJDOImplHelper().newObjectIdInstance(cls, key); }
id = NucleusJDOHelper.getJDOImplHelper().newObjectIdInstance(targetClass, value);
id = NucleusJDOHelper.getJDOImplHelper().newObjectIdInstance(targetClass, value);
id = JDOImplHelper.getInstance().newObjectIdInstance(pcClass, key);