Package org.hibernate.cfg
Class CannotForceNonNullableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.AnnotationException
-
- org.hibernate.cfg.CannotForceNonNullableException
-
- All Implemented Interfaces:
Serializable
public class CannotForceNonNullableException extends AnnotationException
Indicates an internal attempt to mark a column as non-nullable (because its part of a PK, etc) but we cannot force that column to be non-nullable. Typically this 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)
-
-