Package org.hibernate.query
Class IllegalMutationQueryException
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
org.hibernate.query.IllegalMutationQueryException
- All Implemented Interfaces:
Serializable
Indicates an attempt to call
QueryProducer.createMutationQuery(String)
,
QueryProducer.createNamedMutationQuery(String)
or
QueryProducer.createNativeMutationQuery(String)
with a non-mutation
query (generally a select query)- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalMutationQueryException
(String message) IllegalMutationQueryException
(String message, String queryString) -
Method Summary
Methods inherited from class org.hibernate.QueryException
generateQueryException, getMessage, getOriginalMessage, getQueryString, wrapWithQueryString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalMutationQueryException
-
IllegalMutationQueryException
-