Package org.hibernate.query
Class IllegalQueryOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.QueryException
org.hibernate.query.IllegalQueryOperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalMutationQueryException
,IllegalSelectQueryException
Thrown when an operation of the
Query
interface
is called which is unsupported due to the nature of the
query itself. For example, this exception is throw if
executeUpdate()
is invoked
on an instance of Query
representing a JPQL or
SQL SELECT
query.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalQueryOperationException
(String message) IllegalQueryOperationException
(String message, String queryString, Exception cause) -
Method Summary
Methods inherited from class org.hibernate.QueryException
getMessage, getOriginalMessage, getQueryString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalQueryOperationException
-
IllegalQueryOperationException
-