Package org.hibernate.cfg
Interface ValidationSettings
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface ValidationSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Enable nullability checking, raises an exception if an attribute marked as not null is null at runtime.static final String
Used to coordinate with bean validators.static final String
Used to coordinate with bean validators.static final String
Used to coordinate with bean validators.static final String
Used to pass along any discoveredValidatorFactory
.static final String
Indicates which form of automatic validation is in effect as per the rules defined in JPA 2 section 3.6.1.1.static final String
Deprecated.static final String
Deprecated.UseJAKARTA_REMOVE_VALIDATION_GROUP
insteadstatic final String
Deprecated.UseJAKARTA_UPDATE_VALIDATION_GROUP
insteadstatic final String
Deprecated.UseJAKARTA_VALIDATION_FACTORY
insteadstatic final String
Deprecated.UseJAKARTA_VALIDATION_MODE
instead
-
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
. -
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.
-
JPA_VALIDATION_MODE
Deprecated.UseJAKARTA_VALIDATION_MODE
instead- See Also:
-
JPA_VALIDATION_FACTORY
Deprecated.UseJAKARTA_VALIDATION_FACTORY
instead- See Also:
-
JPA_PERSIST_VALIDATION_GROUP
Deprecated.UseJAKARTA_PERSIST_VALIDATION_GROUP
instead- See Also:
-
JPA_UPDATE_VALIDATION_GROUP
Deprecated.UseJAKARTA_UPDATE_VALIDATION_GROUP
instead- See Also:
-
JPA_REMOVE_VALIDATION_GROUP
Deprecated.UseJAKARTA_REMOVE_VALIDATION_GROUP
instead- See Also:
-
JAKARTA_PERSIST_VALIDATION_GROUP
instead