| Modifier and Type | Class and Description |
|---|---|
| public abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final CascadingAction | |
| public static final CascadingAction | |
| public static final CascadingAction | |
| private static final CoreMessageLogger | |
| public static final CascadingAction | |
| public static final CascadingAction | |
| public static final CascadingAction | PERSIST_ON_FLUSH
Execute persist during flush time |
| public static final CascadingAction | |
| public static final CascadingAction | |
| public static final CascadingAction |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static Iterator | Returns: The children iterator.The session within which the cascade is occurring. session, CollectionType The mapping type of the collection. collectionType, Object The collection instance. collection)
Deprecated
as a consequence of
Given a collection, get an iterator of all its children, loading them
from the database if necessary.
EventSource being deprecated.
|
| public static Iterator | getLoadedElementsIterator(SharedSessionContractImplementor session, CollectionType collectionType, Object collection)
Iterate just the elements of the collection that are already there. |
| DELETE | back to summary |
|---|---|
public static final CascadingAction DELETE
| |
| EVICT | back to summary |
|---|---|
public static final CascadingAction EVICT
| |
| LOCK | back to summary |
|---|---|
| public static final CascadingAction LOCK | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| MERGE | back to summary |
|---|---|
public static final CascadingAction MERGE
| |
| PERSIST | back to summary |
|---|---|
| public static final CascadingAction PERSIST | |
| PERSIST_ON_FLUSH | back to summary |
|---|---|
| public static final CascadingAction PERSIST_ON_FLUSH Execute persist during flush time | |
| REFRESH | back to summary |
|---|---|
| public static final CascadingAction REFRESH | |
| REPLICATE | back to summary |
|---|---|
public static final CascadingAction REPLICATE
| |
| SAVE_UPDATE | back to summary |
|---|---|
| public static final CascadingAction SAVE_UPDATE | |
| CascadingActions | back to summary |
|---|---|
| private CascadingActions() Disallow instantiation | |
| collectionIsInitialized | back to summary |
|---|---|
| private static boolean collectionIsInitialized(Object collection) | |
| getAllElementsIterator | back to summary |
|---|---|
| public static Iterator Deprecated as a consequence of Given a collection, get an iterator of all its children, loading them from the database if necessary.
| |
| getLoadedElementsIterator | back to summary |
|---|---|
| public static Iterator Iterate just the elements of the collection that are already there. Don't load any new elements from the database. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | noCascade(EventSource
The session within which the cascade is occurring. session, Object The property value owner parent, EntityPersister The entity persister for the owner persister, Type The property type propertyType, int The index of the property within the owner. propertyIndex)Implements org.
Deprecated
as a consequence of
Called (in the case of EventSource being deprecated.
requiresNoCascadeChecking returning true) to validate
that no cascade on the given property is considered a valid semantic.
|
| public boolean | performOnLazyProperty()
Implements org. |
| public boolean | requiresNoCascadeChecking()
Implements org. |
| BaseCascadingAction | back to summary |
|---|---|
| public BaseCascadingAction() | |
| noCascade | back to summary |
|---|---|
| public void noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex) Implements org. Doc from org. Deprecated as a consequence of Called (in the case of
| |
| performOnLazyProperty | back to summary |
|---|---|
| public boolean performOnLazyProperty() Implements org. Doc from org. Should this action be performed (or noCascade consulted) in the case of lazy properties.
| |
| requiresNoCascadeChecking | back to summary |
|---|---|
| public boolean requiresNoCascadeChecking() Implements org. Doc from org. Does the specified cascading action require verification of no cascade validity?
| |