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
public class IllegalQueryOperationException extends QueryException
Indicates an attempt to perform some operation on a Query that is illegal based on its state, e.g., attempt to callQuery.executeUpdate()
on a SELECT query.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalQueryOperationException(String message)
IllegalQueryOperationException(String message, String queryString, Exception cause)
-
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
-
-