Package org.hibernate.query
Class IllegalSelectQueryException
- 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.IllegalSelectQueryException
-
- All Implemented Interfaces:
Serializable
public class IllegalSelectQueryException extends IllegalQueryOperationException
Indicates an attempt to callQueryProducer.createSelectionQuery(String)
with a non-selection query (generally a mutation query)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalSelectQueryException(String message)
IllegalSelectQueryException(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
-
-