Class CannotBecomeEntityGraphException

All Implemented Interfaces:
Serializable

public class CannotBecomeEntityGraphException extends HibernateException
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 Details

    • CannotBecomeEntityGraphException

      public CannotBecomeEntityGraphException(String message)