public enum CascadeValidateType extends java.lang.Enum
Defines a set of cascade validation options that are propagated to the associated entity.
Enum constant | Description |
---|---|
DEFAULT |
By default, cascade for any owned association or with a JPA cascade of PERSIST or MERGE * |
DIRTY |
In addition to the default cascade requirement, only cascade to entities that are DirtyCheckable and hasChanged * |
NONE |
Don't cascade validations at all, only entities that are actually flushed will be validated (similar to deepValidate: false) * |
OWNED |
Only cascade validation for associations which are owned by the parent entity, regardless of the JPA cascade behavior * |
Type Params | Return Type | Name and description |
---|---|---|
|
public static CascadeValidateType |
fromMappedName(java.lang.String name) |
Methods inherited from class | Name |
---|---|
class java.lang.Enum |
java.lang.Enum#name(), java.lang.Enum#equals(java.lang.Object), java.lang.Enum#toString(), java.lang.Enum#hashCode(), java.lang.Enum#compareTo(java.lang.Object), java.lang.Enum#compareTo(java.lang.Enum), java.lang.Enum#valueOf(java.lang.Class, java.lang.String), java.lang.Enum#getDeclaringClass(), java.lang.Enum#ordinal(), java.lang.Enum#wait(long), java.lang.Enum#wait(long, int), java.lang.Enum#wait(), java.lang.Enum#getClass(), java.lang.Enum#notify(), java.lang.Enum#notifyAll() |
By default, cascade for any owned association or with a JPA cascade of PERSIST or MERGE *
In addition to the default cascade requirement, only cascade to entities that are DirtyCheckable and hasChanged *
Don't cascade validations at all, only entities that are actually flushed will be validated (similar to deepValidate: false) *
Only cascade validation for associations which are owned by the parent entity, regardless of the JPA cascade behavior *
Groovy Documentation