Package org.hibernate.graph
Class CannotBecomeEntityGraphException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.graph.CannotBecomeEntityGraphException
- All Implemented Interfaces:
Serializable
Indicates an illegal attempt to make a
Graph
become
an EntityGraph
via Graph.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:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotBecomeEntityGraphException
-