java.lang.Object | |
↳ | org.hibernate.engine.Cascade |
Delegate responsible for, in conjunction with the various
actions
, implementing cascade processing.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | AFTER_EVICT | A cascade point that occurs just after eviction of the parent entity from the session cache | |||||||||
int | AFTER_INSERT_BEFORE_DELETE | A cascade point that occurs just after the insertion of the parent entity and just before deletion | |||||||||
int | AFTER_INSERT_BEFORE_DELETE_VIA_COLLECTION | A cascade point that occurs just after the insertion of the parent entity and just before deletion, inside a collection | |||||||||
int | AFTER_LOCK | A cascade point that occurs just after refreshing a parent entity | |||||||||
int | AFTER_UPDATE | A cascade point that occurs just after update of the parent entity | |||||||||
int | BEFORE_FLUSH | A cascade point that occurs just before the session is flushed | |||||||||
int | BEFORE_INSERT_AFTER_DELETE | A cascade point that occurs just before the insertion of the parent entity and just after deletion | |||||||||
int | BEFORE_MERGE | A cascade point that occurs just before merging from a transient parent entity into the object in the session cache | |||||||||
int | BEFORE_REFRESH | A cascade point that occurs just after locking a transient parent entity into the session cache |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Cascade an action from the parent entity instance to all its children.
| |||||||||||
Cascade an action from the parent entity instance to all its children.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
A cascade point that occurs just after eviction of the parent entity from the session cache
A cascade point that occurs just after the insertion of the parent entity and just before deletion
A cascade point that occurs just after the insertion of the parent entity and just before deletion, inside a collection
A cascade point that occurs just after refreshing a parent entity
A cascade point that occurs just after update of the parent entity
A cascade point that occurs just before the session is flushed
A cascade point that occurs just before the insertion of the parent entity and just after deletion
A cascade point that occurs just before merging from a transient parent entity into the object in the session cache
A cascade point that occurs just after locking a transient parent entity into the session cache
Cascade an action from the parent entity instance to all its children.
persister | The parent's entity persister |
---|---|
parent | The parent reference. |
HibernateException |
---|
Cascade an action from the parent entity instance to all its children. This form is typicaly called from within cascade actions.
persister | The parent's entity persister |
---|---|
parent | The parent reference. |
anything | Anything ;) Typically some form of cascade-local cache which is specific to each CascadingAction type |
HibernateException |
---|