Package org.hibernate.engine.internal
Class Cascade
- java.lang.Object
-
- org.hibernate.engine.internal.Cascade
-
public final class Cascade extends Object
Delegate responsible for, in conjunction with the various actions, implementing cascade processing.- See Also:
CascadingAction
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> void
cascade(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent)
Cascade an action from the parent entity instance to all its children.static <T> void
cascade(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, T anything)
Cascade an action from the parent entity instance to all its children.
-
-
-
Method Detail
-
cascade
public static <T> void cascade(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent) throws HibernateException
Cascade an action from the parent entity instance to all its children.- Parameters:
persister
- The parent's entity persisterparent
- The parent reference.- Throws:
HibernateException
-
cascade
public static <T> void cascade(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, T anything) throws HibernateException
Cascade an action from the parent entity instance to all its children. This form is typically called from within cascade actions.- Parameters:
persister
- The parent's entity persisterparent
- The parent reference.anything
- Anything ;) Typically some form of cascade-local cache which is specific to each CascadingAction type- Throws:
HibernateException
-
-