Package org.hibernate.cfg
Interface ValidationSettings
-
public interface ValidationSettings
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHECK_NULLABILITYEnable nullability checking, raises an exception if an attribute marked as not null is null at runtime.static StringJAKARTA_PERSIST_VALIDATION_GROUPUsed to coordinate with bean validators.static StringJAKARTA_REMOVE_VALIDATION_GROUPUsed to coordinate with bean validators.static StringJAKARTA_UPDATE_VALIDATION_GROUPUsed to coordinate with bean validators.static StringJAKARTA_VALIDATION_FACTORYUsed to pass along any discoveredValidatorFactory.static StringJAKARTA_VALIDATION_MODEIndicates which form of automatic validation is in effect as per the rules defined in JPA 2 section 3.6.1.1.static StringJPA_PERSIST_VALIDATION_GROUPDeprecated.UseJAKARTA_PERSIST_VALIDATION_GROUPinsteadstatic StringJPA_REMOVE_VALIDATION_GROUPDeprecated.UseJAKARTA_REMOVE_VALIDATION_GROUPinsteadstatic StringJPA_UPDATE_VALIDATION_GROUPDeprecated.UseJAKARTA_UPDATE_VALIDATION_GROUPinsteadstatic StringJPA_VALIDATION_FACTORYDeprecated.UseJAKARTA_VALIDATION_FACTORYinsteadstatic StringJPA_VALIDATION_MODEDeprecated.UseJAKARTA_VALIDATION_MODEinstead
-
-
-
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_MODEinstead- See Also:
- Constant Field Values
-
JPA_VALIDATION_FACTORY
@Deprecated static final String JPA_VALIDATION_FACTORY
Deprecated.UseJAKARTA_VALIDATION_FACTORYinstead- See Also:
- Constant Field Values
-
JPA_PERSIST_VALIDATION_GROUP
@Deprecated static final String JPA_PERSIST_VALIDATION_GROUP
Deprecated.UseJAKARTA_PERSIST_VALIDATION_GROUPinstead- See Also:
- Constant Field Values
-
JPA_UPDATE_VALIDATION_GROUP
@Deprecated static final String JPA_UPDATE_VALIDATION_GROUP
Deprecated.UseJAKARTA_UPDATE_VALIDATION_GROUPinstead- See Also:
- Constant Field Values
-
JPA_REMOVE_VALIDATION_GROUP
@Deprecated static final String JPA_REMOVE_VALIDATION_GROUP
Deprecated.UseJAKARTA_REMOVE_VALIDATION_GROUPinstead- See Also:
- Constant Field Values
-
-