类 CascadeStyles.BaseCascadeStyle

    • 构造器详细资料

      • BaseCascadeStyle

        public BaseCascadeStyle()
    • 方法详细资料

      • reallyDoCascade

        public boolean reallyDoCascade​(CascadingAction action)
        从接口复制的说明: CascadeStyle
        Probably 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 return CascadeStyle.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()
        从接口复制的说明: CascadeStyle
        Do we need to delete orphaned collection elements?
        指定者:
        hasOrphanDelete 在接口中 CascadeStyle
        返回:
        True if this style need to account for orphan delete operations; false otherwise.