public abstract static class CascadeStyles.BaseCascadeStyle extends Object implements CascadeStyle
| Constructor and Description |
|---|
BaseCascadeStyle() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasOrphanDelete()
Do we need to delete orphaned collection elements?
|
boolean |
reallyDoCascade(CascadingAction action)
Probably more aptly named something like doCascadeToCollectionElements(); it is
however used from both the collection and to-one logic branches...
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoCascadepublic boolean reallyDoCascade(CascadingAction action)
CascadeStyleCascadeStyle.doCascade(org.hibernate.engine.spi.CascadingAction); for certain
styles (currently only delete-orphan), however, we need to be able to
control this separately.reallyDoCascade in interface CascadeStyleaction - The action to be checked for cascade-ability.public boolean hasOrphanDelete()
CascadeStylehasOrphanDelete in interface CascadeStyleCopyright © 2018 JBoss by Red Hat. All rights reserved.