类 Cascade
- java.lang.Object
-
- org.hibernate.engine.internal.Cascade
-
public final class Cascade extends Object
Delegate responsible for, in conjunction with the variousactions, implementing cascade processing.- 作者:
- Gavin King
- 另请参阅:
CascadingAction
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidcascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent)Cascade an action from the parent entity instance to all its children.static voidcascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, Object anything)Cascade an action from the parent entity instance to all its children.
-
-
-
方法详细资料
-
cascade
public static void cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent) throws HibernateException
Cascade an action from the parent entity instance to all its children.- 参数:
persister- The parent's entity persisterparent- The parent reference.- 抛出:
HibernateException
-
cascade
public static void cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, Object anything) throws HibernateException
Cascade an action from the parent entity instance to all its children. This form is typically called from within cascade actions.- 参数:
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- 抛出:
HibernateException
-
-