类 CascadeStyles.BaseCascadeStyle
- java.lang.Object
-
- org.hibernate.engine.spi.CascadeStyles.BaseCascadeStyle
-
- 所有已实现的接口:
Serializable,CascadeStyle
- 封闭类:
- CascadeStyles
public abstract static class CascadeStyles.BaseCascadeStyle extends Object implements CascadeStyle
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 BaseCascadeStyle()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanhasOrphanDelete()Do we need to delete orphaned collection elements?booleanreallyDoCascade(CascadingAction action)Probably more aptly named something like doCascadeToCollectionElements(); it is however used from both the collection and to-one logic branches...-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.engine.spi.CascadeStyle
doCascade
-
-
-
-
方法详细资料
-
reallyDoCascade
public boolean reallyDoCascade(CascadingAction action)
从接口复制的说明:CascadeStyleProbably more aptly named something like doCascadeToCollectionElements(); it is however used from both the collection and to-one logic branches... For this style, should the given action really be cascaded? The default implementation is simply to returnCascadeStyle.doCascade(org.hibernate.engine.spi.CascadingAction); for certain styles (currently only delete-orphan), however, we need to be able to control this separately.- 指定者:
reallyDoCascade在接口中CascadeStyle- 参数:
action- The action to be checked for cascade-ability.- 返回:
- True if the action should be really cascaded under this style; false otherwise.
-
hasOrphanDelete
public boolean hasOrphanDelete()
从接口复制的说明:CascadeStyleDo we need to delete orphaned collection elements?- 指定者:
hasOrphanDelete在接口中CascadeStyle- 返回:
- True if this style need to account for orphan delete operations; false otherwise.
-
-