| Modifier and Type | Field and Description |
|---|---|
| public static final CascadingAction | |
| public static final CascadingAction | |
| public static final CascadingAction | |
| private static final Logger | |
| public static final CascadingAction | |
| public static final CascadingAction | |
| public static final CascadingAction | PERSIST_ON_FLUSH
Execute persist during flush time |
| public static final CascadingAction | |
| public static final CascadingAction | |
| public static final CascadingAction | |
| public static final CascadingAction |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | cascade(EventSource
The session within which the cascade is occuring. 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)Cascade the action to the child object. |
| private static boolean | |
| public abstract boolean | Returns: True if this action can lead to deletions of orphans.Does this action potentially extrapolate to orphan deletes? |
| private static Iterator | Returns: The children iterator.The session within which the cascade is occuring. session, CollectionType The mapping type of the collection. collectionType, Object The collection instance. collection)Given a collection, get an iterator of all its children, loading them from the database if necessary. |
| public abstract Iterator | Returns: The children iterator.The session within which the cascade is occuring. 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 static Iterator | getLoadedElementsIterator(SessionImplementor session, CollectionType collectionType, Object collection)
Iterate just the elements of the collection that are already there. |
| public void | noCascade(EventSource
The session witin which the cascade is occurring. session, Object The property value child, Object The property value owner parent, EntityPersister The entity persister for the owner persister, 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? |
| DELETE | back to summary |
|---|---|
public static final CascadingAction DELETE
| |
| EVICT | back to summary |
|---|---|
public static final CascadingAction EVICT
| |
| LOCK | back to summary |
|---|---|
| public static final CascadingAction LOCK | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| MERGE | back to summary |
|---|---|
public static final CascadingAction MERGE
| |
| PERSIST | back to summary |
|---|---|
| public static final CascadingAction PERSIST | |
| PERSIST_ON_FLUSH | back to summary |
|---|---|
| public static final CascadingAction PERSIST_ON_FLUSH Execute persist during flush time | |
| REFRESH | back to summary |
|---|---|
| public static final CascadingAction REFRESH | |
| REPLICATE | back to summary |
|---|---|
| public static final CascadingAction REPLICATE | |
| SAVE_UPDATE | back to summary |
|---|---|
| public static final CascadingAction SAVE_UPDATE | |
| SAVE_UPDATE_COPY | back to summary |
|---|---|
| public static final CascadingAction SAVE_UPDATE_COPY | |
| CascadingAction | back to summary |
|---|---|
| pack-priv CascadingAction() protected constructor | |
| cascade | back to summary |
|---|---|
| public abstract void cascade(EventSource session, Object child, String entityName, Object anything, boolean isCascadeDeleteEnabled) throws HibernateException Cascade the action to the child object.
| |
| collectionIsInitialized | back to summary |
|---|---|
| private static boolean collectionIsInitialized(Object collection) | |
| deleteOrphans | back to summary |
|---|---|
| public abstract boolean deleteOrphans() Does this action potentially extrapolate to orphan deletes?
| |
| getAllElementsIterator | back to summary |
|---|---|
| private static Iterator Given a collection, get an iterator of all its children, loading them from the database if necessary.
| |
| getCascadableChildrenIterator | back to summary |
|---|---|
| public abstract Iterator Given a collection, get an iterator of the children upon which the current cascading action should be visited.
| |
| getLoadedElementsIterator | back to summary |
|---|---|
| public static Iterator Iterate just the elements of the collection that are already there. Don't load any new elements from the database. | |
| noCascade | back to summary |
|---|---|
| public void noCascade(EventSource session, Object child, Object parent, EntityPersister persister, 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?
| |