public class DynamicIdentityPolicy
extends org.eclipse.persistence.internal.jpa.CMP3Policy
CMPPolicy.KeyElementAccessor, CMPPolicy.KeyIsElementAccessor
fieldToAccessorMap, keyClassFields, pkClass, pkClassName
AFTER_EJBCREATE, AFTER_EJBPOSTCREATE, ALL_MODIFICATIONS, descriptor, forceUpdate, mappedClass, modificationDeferralLevel, nonDeferredCreateTime, NONE, pessimisticLockingPolicy, UNDEFINED, UPDATE_MODIFICATIONS, updateAllFields
Constructor and Description |
---|
DynamicIdentityPolicy() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createPrimaryKeyFromId(java.lang.Object key,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Use the key to create a EclipseLink primary key.
|
protected CMPPolicy.KeyElementAccessor[] |
initializePrimaryKeyFields(java.lang.Class keyClass,
org.eclipse.persistence.internal.sessions.AbstractSession session) |
addReadOnlyMappings, addWritableMapping, clone, convertClassNamesToClasses, createBeanUsingKey, getField, getKeyClassFields, getPKClass, getPKClassInstance, getPKClassName, getPkValueFromKeyForField, initialize, isCMP3Policy, remoteInitialize, setPKClass, setPrimaryKeyClassName
createPrimaryKeyInstance, createPrimaryKeyInstanceFromId, createPrimaryKeyInstanceFromPrimaryKeyValues, getClassInstance, getDeferModificationsUntilCommit, getDescriptor, getForceUpdate, getMappedClass, getNonDeferredCreateTime, getPessimisticLockingPolicy, getUpdateAllFields, hasPessimisticLockingPolicy, internalGetForceUpdate, internalGetUpdateAllFields, internalSetForceUpdate, internalSetUpdateAllFields, isSingleKey, setDeferModificationsUntilCommit, setDescriptor, setFieldValue, setForceUpdate, setMappedClass, setNonDeferredCreateTime, setPessimisticLockingPolicy, setUpdateAllFields
public java.lang.Object createPrimaryKeyFromId(java.lang.Object key, org.eclipse.persistence.internal.sessions.AbstractSession session)
CMPPolicy
createPrimaryKeyFromId
in class org.eclipse.persistence.internal.jpa.CMP3Policy
protected CMPPolicy.KeyElementAccessor[] initializePrimaryKeyFields(java.lang.Class keyClass, org.eclipse.persistence.internal.sessions.AbstractSession session)
initializePrimaryKeyFields
in class org.eclipse.persistence.internal.jpa.CMP3Policy