Package org.hibernate.cfg
Interface ValidationSettings
-
- All Known Subinterfaces:
AvailableSettings
- All Known Implementing Classes:
Environment
public interface ValidationSettings
-
-
Field Summary
Fields Modifier and Type Field Description static String
CHECK_NULLABILITY
Enable nullability checking, raises an exception if an attribute marked as not null is null at runtime.static String
JAKARTA_PERSIST_VALIDATION_GROUP
Used to coordinate with bean validators.static String
JAKARTA_REMOVE_VALIDATION_GROUP
Used to coordinate with bean validators.static String
JAKARTA_UPDATE_VALIDATION_GROUP
Used to coordinate with bean validators.static String
JAKARTA_VALIDATION_FACTORY
Used to pass along any discoveredValidatorFactory
.static String
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.static String
JPA_PERSIST_VALIDATION_GROUP
Deprecated.UseJAKARTA_PERSIST_VALIDATION_GROUP
insteadstatic String
JPA_REMOVE_VALIDATION_GROUP
Deprecated.UseJAKARTA_REMOVE_VALIDATION_GROUP
insteadstatic String
JPA_UPDATE_VALIDATION_GROUP
Deprecated.UseJAKARTA_UPDATE_VALIDATION_GROUP
insteadstatic String
JPA_VALIDATION_FACTORY
Deprecated.UseJAKARTA_VALIDATION_FACTORY
insteadstatic String
JPA_VALIDATION_MODE
Deprecated.UseJAKARTA_VALIDATION_MODE
instead
-
-
-
Field Detail
-
JAKARTA_VALIDATION_MODE
static final String 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:
ValidationMode
, Constant Field Values
-
JAKARTA_VALIDATION_FACTORY
static final String JAKARTA_VALIDATION_FACTORY
Used to pass along any discoveredValidatorFactory
.
-
JAKARTA_PERSIST_VALIDATION_GROUP
static final String JAKARTA_PERSIST_VALIDATION_GROUP
Used to coordinate with bean validators.See JPA 2 section 8.2.1.9
- See Also:
- Constant Field Values
-
JAKARTA_UPDATE_VALIDATION_GROUP
static final String JAKARTA_UPDATE_VALIDATION_GROUP
Used to coordinate with bean validators.See JPA 2 section 8.2.1.9
- See Also:
- Constant Field Values
-
JAKARTA_REMOVE_VALIDATION_GROUP
static final String JAKARTA_REMOVE_VALIDATION_GROUP
Used to coordinate with bean validators.See JPA 2 section 8.2.1.9
- See Also:
- Constant Field Values
-
CHECK_NULLABILITY
static final String 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 static final String JPA_VALIDATION_MODE
Deprecated.UseJAKARTA_VALIDATION_MODE
instead- See Also:
- Constant Field Values
-
JPA_VALIDATION_FACTORY
@Deprecated static final String JPA_VALIDATION_FACTORY
Deprecated.UseJAKARTA_VALIDATION_FACTORY
instead- See Also:
- Constant Field Values
-
JPA_PERSIST_VALIDATION_GROUP
@Deprecated static final String JPA_PERSIST_VALIDATION_GROUP
Deprecated.UseJAKARTA_PERSIST_VALIDATION_GROUP
instead- See Also:
- Constant Field Values
-
JPA_UPDATE_VALIDATION_GROUP
@Deprecated static final String JPA_UPDATE_VALIDATION_GROUP
Deprecated.UseJAKARTA_UPDATE_VALIDATION_GROUP
instead- See Also:
- Constant Field Values
-
JPA_REMOVE_VALIDATION_GROUP
@Deprecated static final String JPA_REMOVE_VALIDATION_GROUP
Deprecated.UseJAKARTA_REMOVE_VALIDATION_GROUP
instead- See Also:
- Constant Field Values
-
-