251252253254255256257258259260261
private static Object getObjectId(Object ob) { if (!ImplHelper.isManageable(ob)) return null; PersistenceCapable pc = ImplHelper.toPersistenceCapable(ob, null); if (pc == null || pc.pcIsNew()) return null; else return pc.pcFetchObjectId(); } }
264265266267268269270271272273274
private static Object getObjectId(Object ob) { if (!ImplHelper.isManageable(ob)) return null; PersistenceCapable pc = ImplHelper.toPersistenceCapable(ob, null); if (pc == null || pc.pcIsNew()) return null; else return pc.pcFetchObjectId(); }
258259260261262263264265266267268