Package org.hibernate.query.sqm
Class UnknownEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.QueryException
org.hibernate.query.SemanticException
org.hibernate.query.sqm.UnknownEntityException
- All Implemented Interfaces:
Serializable
Indicates a failure to resolve an entity name in HQL to a known mapped
entity type.
- See Also:
- API Note:
- The JPA criteria API requires that this problem be reported
as an
IllegalArgumentException, and so we usually throwEntityTypeExceptionfrom the SQM objects, and then wrap as an instance of this exception type in theHqlTranslator.
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownEntityException(String entityName) UnknownEntityException(String message, String entityName) UnknownEntityException(String message, String entityName, Exception cause) -
Method Summary
Methods inherited from class org.hibernate.QueryException
getMessage, getOriginalMessage, getQueryStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownEntityException
-
UnknownEntityException
-
UnknownEntityException
-
-
Method Details
-
getEntityName
-