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:
java.io.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(java.lang.String message)
-