public final class Cascade extends Object
actions
, implementing cascade processing.CascadingAction
Modifier and Type | Method and Description |
---|---|
static void |
cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
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,
Object parent,
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, 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, Object parent, 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-2017 Red Hat, Inc. All Rights Reserved.