| Modifier and Type | Method and Description |
|---|---|
| public void | cascade(EventSource
The session within which the cascade is occurring. session, Object The child to which cascading should be performed. child, String The child's entity name entityName, Object Anything ;) Typically some form of cascade-local cache
which is specific to each CascadingAction type anything, boolean Are cascading deletes enabled. isCascadeDeleteEnabled)
Deprecated
as a consequence of
Cascade the action to the child object.
EventSource being deprecated.
|
| public boolean | Returns: True if this action can lead to deletions of orphans.Does this action potentially extrapolate to orphan deletes? |
| public Iterator | Returns: The children iterator.The session within which the cascade is occurring. session, CollectionType The mapping type of the collection. collectionType, Object The collection instance. collection)
Deprecated
as a consequence of
Given a collection, get an iterator of the children upon which the
current cascading action should be visited.
EventSource being deprecated.
|
| public void | noCascade(EventSource
The session within which the cascade is occurring. session, Object The property value owner parent, EntityPersister The entity persister for the owner persister, Type The property type propertyType, int The index of the property within the owner. propertyIndex)
Deprecated
as a consequence of
Called (in the case of EventSource being deprecated.
requiresNoCascadeChecking returning true) to validate
that no cascade on the given property is considered a valid semantic.
|
| public boolean | performOnLazyProperty()
Should this action be performed (or noCascade consulted) in the case of lazy properties. |
| public boolean | Returns: True if this action requires no-cascade verification; false otherwise.Does the specified cascading action require verification of no cascade validity? |
| cascade | back to summary |
|---|---|
| public void cascade(EventSource session, Object child, String entityName, Object anything, boolean isCascadeDeleteEnabled) throws HibernateException
Deprecated as a consequence of Cascade the action to the child object.
| |
| deleteOrphans | back to summary |
|---|---|
| public boolean deleteOrphans() Does this action potentially extrapolate to orphan deletes?
| |
| getCascadableChildrenIterator | back to summary |
|---|---|
| public Iterator Deprecated as a consequence of Given a collection, get an iterator of the children upon which the current cascading action should be visited.
| |
| noCascade | back to summary |
|---|---|
| public void noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
Deprecated as a consequence of Called (in the case of
| |
| performOnLazyProperty | back to summary |
|---|---|
| public boolean performOnLazyProperty() Should this action be performed (or noCascade consulted) in the case of lazy properties. | |
| requiresNoCascadeChecking | back to summary |
|---|---|
| public boolean requiresNoCascadeChecking() Does the specified cascading action require verification of no cascade validity?
| |