| 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, T Anything ;) Typically some form of cascade-local cache
which is specific to each CascadingAction type anything, boolean Are cascading deletes enabled. isCascadeDeleteEnabled)Cascade the action to the child object. |
| 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)Given a collection, get an iterator of the children upon which the current cascading action should be visited. |
| 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)Called (in the case of |
| 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, T anything, boolean isCascadeDeleteEnabled) throws HibernateException 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 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) 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?
| |