Class CannotForceNonNullableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.AnnotationException
-
- org.hibernate.boot.model.internal.CannotForceNonNullableException
-
- All Implemented Interfaces:
Serializable
public class CannotForceNonNullableException extends AnnotationException
Indicates an internal attempt to mark a column as non-nullable (because it's part of a primary key, for example) when we cannot force that column to be non-nullable. This usually indicates that the "column" is actually a formula.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotForceNonNullableException(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CannotForceNonNullableException
public CannotForceNonNullableException(String message)
-
-