Package org.hibernate.cfg
Interface ValidationSettings
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface ValidationSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringEnable nullability checking, raises an exception if an attribute marked as not null is null at runtime.static final StringUsed to coordinate with bean validators.static final StringUsed to coordinate with bean validators.static final StringUsed to coordinate with bean validators.static final StringUsed to pass along any discoveredValidatorFactory.static final StringIndicates which form of automatic validation is in effect as per the rules defined in JPA 2 section 3.6.1.1.static final StringDeprecated.static final StringDeprecated.UseJAKARTA_REMOVE_VALIDATION_GROUPinsteadstatic final StringDeprecated.UseJAKARTA_UPDATE_VALIDATION_GROUPinsteadstatic final StringDeprecated.UseJAKARTA_VALIDATION_FACTORYinsteadstatic final StringDeprecated.UseJAKARTA_VALIDATION_MODEinstead
-
Field Details
-
JAKARTA_VALIDATION_MODE
Indicates which form of automatic validation is in effect as per the rules defined in JPA 2 section 3.6.1.1.See JPA 2 sections 9.4.3 and 8.2.1.8
- See Also:
-
JAKARTA_VALIDATION_FACTORY
Used to pass along any discoveredValidatorFactory.- See Also:
-
JAKARTA_PERSIST_VALIDATION_GROUP
Used to coordinate with bean validators.See JPA 2 section 8.2.1.9
- See Also:
-
JAKARTA_UPDATE_VALIDATION_GROUP
Used to coordinate with bean validators.See JPA 2 section 8.2.1.9
- See Also:
-
JAKARTA_REMOVE_VALIDATION_GROUP
Used to coordinate with bean validators.See JPA 2 section 8.2.1.9
- See Also:
-
CHECK_NULLABILITY
Enable nullability checking, raises an exception if an attribute marked as not null is null at runtime.Defaults to disabled if Bean Validation is present in the classpath and annotations are used, or enabled otherwise.
- See Also:
-
JPA_VALIDATION_MODE
Deprecated.UseJAKARTA_VALIDATION_MODEinstead- See Also:
-
JPA_VALIDATION_FACTORY
Deprecated.UseJAKARTA_VALIDATION_FACTORYinstead- See Also:
-
JPA_PERSIST_VALIDATION_GROUP
Deprecated.UseJAKARTA_PERSIST_VALIDATION_GROUPinstead- See Also:
-
JPA_UPDATE_VALIDATION_GROUP
Deprecated.UseJAKARTA_UPDATE_VALIDATION_GROUPinstead- See Also:
-
JPA_REMOVE_VALIDATION_GROUP
Deprecated.UseJAKARTA_REMOVE_VALIDATION_GROUPinstead- See Also:
-
JAKARTA_PERSIST_VALIDATION_GROUPinstead