类 CascadeStyles.MultipleCascadeStyle

    • 构造器详细资料

      • MultipleCascadeStyle

        public MultipleCascadeStyle​(CascadeStyle[] styles)
    • 方法详细资料

      • doCascade

        public boolean doCascade​(CascadingAction action)
        从接口复制的说明: CascadeStyle
        For this style, should the given action be cascaded?
        参数:
        action - The action to be checked for cascade-ability.
        返回:
        True if the action should be cascaded under this style; false otherwise.
      • 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
        覆盖:
        reallyDoCascade 在类中 CascadeStyles.BaseCascadeStyle
        参数:
        action - The action to be checked for cascade-ability.
        返回:
        True if the action should be really cascaded under this style; false otherwise.