public final class Cascade
extends java.lang.Object
actions
, implementing cascade processing.CascadingAction
Modifier and Type | Method and Description |
---|---|
static void |
cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
java.lang.Object parent)
Cascade an action from the parent entity instance to all its children.
|
static void |
cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
java.lang.Object parent,
java.lang.Object anything)
Cascade an action from the parent entity instance to all its children.
|
public static void cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, java.lang.Object parent) throws HibernateException
persister
- The parent's entity persisterparent
- The parent reference.HibernateException
public static void cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, java.lang.Object parent, java.lang.Object anything) throws HibernateException
persister
- The parent's entity persisterparent
- The parent reference.anything
- Anything ;) Typically some form of cascade-local cache
which is specific to each CascadingAction typeHibernateException
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.