public enum CascadeValidateType
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.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
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