Uses of Interface
st.orm.IntegrityViolation
Packages that use IntegrityViolation
Package
Description
Foundation of the data model: the mapping annotations and the record interfaces.
Java repository API.
-
Uses of IntegrityViolation in st.orm
Classes in st.orm that implement IntegrityViolationModifier and TypeClassDescriptionstatic final recordA value a check constraint rejects.static final recordA foreign key that references a row that does not exist.static final recordA string longer than its column.static final recordA null in a column that does not accept one.static final recordA number with more digits before the decimal point than its column holds.static final recordA row that other rows still reference through a foreign key, so it cannot be removed, or have its key changed.static final recordA value, or a combination of values, that another row already holds under a unique key or the primary key.Methods in st.orm that return types with arguments of type IntegrityViolationModifier and TypeMethodDescriptionIntegrityViolationException.violations()Returns the violations.IntegrityViolationException.violations(Metamodel<?, ?> field) Returns the violations that resolve to the given field.Constructor parameters in st.orm with type arguments of type IntegrityViolationModifierConstructorDescriptionIntegrityViolationException(String message, List<IntegrityViolation> violations) Constructs a new exception with the specified detail message and violations.IntegrityViolationException(String message, List<IntegrityViolation> violations, @Nullable Throwable cause) Constructs a new exception with the specified detail message, violations and cause. -
Uses of IntegrityViolation in st.orm.repository
Methods in st.orm.repository that return types with arguments of type IntegrityViolationModifier and TypeMethodDescriptionChecks an entity against its columns without writing it, and returns every violation found: a null in a field whose column refuses it, a string longer than its character column, and a decimal with more digits before the decimal point than its column holds.