Enum CascadePoint

    • Enum Constant Detail

      • AFTER_INSERT_BEFORE_DELETE

        public static final CascadePoint AFTER_INSERT_BEFORE_DELETE
        A cascade point that occurs just after the insertion of the parent entity and just before deletion
      • BEFORE_INSERT_AFTER_DELETE

        public static final CascadePoint BEFORE_INSERT_AFTER_DELETE
        A cascade point that occurs just before the insertion of the parent entity and just after deletion
      • AFTER_INSERT_BEFORE_DELETE_VIA_COLLECTION

        public static final CascadePoint AFTER_INSERT_BEFORE_DELETE_VIA_COLLECTION
        A cascade point that occurs just after the insertion of the parent entity and just before deletion, inside a collection
      • AFTER_UPDATE

        public static final CascadePoint AFTER_UPDATE
        A cascade point that occurs just after update of the parent entity
      • BEFORE_FLUSH

        public static final CascadePoint BEFORE_FLUSH
        A cascade point that occurs just before the session is flushed
      • AFTER_EVICT

        public static final CascadePoint AFTER_EVICT
        A cascade point that occurs just after eviction of the parent entity from the session cache
      • BEFORE_REFRESH

        public static final CascadePoint BEFORE_REFRESH
        A cascade point that occurs just after locking a transient parent entity into the session cache
      • AFTER_LOCK

        public static final CascadePoint AFTER_LOCK
        A cascade point that occurs just after refreshing a parent entity
      • BEFORE_MERGE

        public static final CascadePoint BEFORE_MERGE
        A cascade point that occurs just before merging from a transient parent entity into the object in the session cache
    • Method Detail

      • values

        public static CascadePoint[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CascadePoint c : CascadePoint.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CascadePoint valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null