public class CascadeLockingPolicy
extends java.lang.Object
Constructor and Description |
---|
CascadeLockingPolicy(ClassDescriptor parentDescriptor,
ClassDescriptor descriptor)
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
void |
initUnmappedFields(UnitOfWorkImpl uow)
INTERNAL:
Identify mapped and not mapped fields (should be done once).
|
void |
initUnmappedFieldsQuery(UnitOfWorkImpl uow)
INTERNAL:
This method called in case there are m_unmappedQueryKeyFields.
|
void |
lockNotifyParent(java.lang.Object obj,
UnitOfWorkChangeSet changeSet,
UnitOfWorkImpl uow)
INTERNAL:
|
void |
setQueryKeyFields(java.util.Map<DatabaseField,DatabaseField> queryKeyFields)
INTERNAL:
|
void |
setQueryKeyFields(java.util.Map<DatabaseField,DatabaseField> queryKeyFields,
boolean lookForParentMapping)
INTERNAL:
|
void |
setShouldHandleUnmappedFields(boolean shouldHandleUnmappedFields)
INTERNAL:
Indicates whether to expect unmapped fields.
|
boolean |
shouldHandleUnmappedFields()
INTERNAL:
|
public CascadeLockingPolicy(ClassDescriptor parentDescriptor, ClassDescriptor descriptor)
public void initUnmappedFields(UnitOfWorkImpl uow)
public void initUnmappedFieldsQuery(UnitOfWorkImpl uow)
public void lockNotifyParent(java.lang.Object obj, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl uow)
public void setQueryKeyFields(java.util.Map<DatabaseField,DatabaseField> queryKeyFields)
public void setQueryKeyFields(java.util.Map<DatabaseField,DatabaseField> queryKeyFields, boolean lookForParentMapping)
public void setShouldHandleUnmappedFields(boolean shouldHandleUnmappedFields)
public boolean shouldHandleUnmappedFields()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference