| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | createPrimaryKeyFromId(Object key, AbstractSession session)
Overrides org. |
| protected CMPPolicy. | initializePrimaryKeyFields(Class<?> keyClass, AbstractSession session)
Overrides org. |
| DynamicIdentityPolicy | back to summary |
|---|---|
| public DynamicIdentityPolicy() Default constructor; | |
| createPrimaryKeyFromId | back to summary |
|---|---|
| public Object createPrimaryKeyFromId(Object key, AbstractSession session) Overrides org. Doc from org. INTERNAL: Use the key to create a EclipseLink primary key. If the key is simple (direct mapped) then just add it to a vector, otherwise must go through the inefficient process of copying the key into the bean and extracting the key from the bean.
| |
| initializePrimaryKeyFields | back to summary |
|---|---|
| protected CMPPolicy. Overrides org. Doc from org. INTERNAL: Cache the bean's primary key fields so speed up creating of primary key objects and initialization of beans. Note, we have to re-look up the fields for the bean class since these fields may have been loaded with the wrong loader (thank you Kirk). If the key is compound, we also have to look up the fields for the key.
| |