Package org.hibernate.graph
Class CannotBecomeEntityGraphException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.graph.CannotBecomeEntityGraphException
-
- All Implemented Interfaces:
java.io.Serializable
public class CannotBecomeEntityGraphException extends HibernateException
Indicates an illegal attempt to make aGraph
become anEntityGraph
viaGraph.makeRootGraph(String, boolean)
. Generally this happens because the Graph describes an embeddable, whereas an EntityGraph by definition is only valid for an entity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotBecomeEntityGraphException(java.lang.String message)
-