Package org.hibernate.query.sqm
Class StrictJpaComplianceViolation
- 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.StrictJpaComplianceViolation
-
- All Implemented Interfaces:
Serializable
public class StrictJpaComplianceViolation extends SemanticException
Indicates violations of strict JPQL syntax while strict JPQL syntax checking was enabled.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StrictJpaComplianceViolation.Type
-
Constructor Summary
Constructors Constructor Description StrictJpaComplianceViolation(String message, StrictJpaComplianceViolation.Type type)
StrictJpaComplianceViolation(StrictJpaComplianceViolation.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StrictJpaComplianceViolation.Type
getType()
-
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 Detail
-
StrictJpaComplianceViolation
public StrictJpaComplianceViolation(StrictJpaComplianceViolation.Type type)
-
StrictJpaComplianceViolation
public StrictJpaComplianceViolation(String message, StrictJpaComplianceViolation.Type type)
-
-
Method Detail
-
getType
public StrictJpaComplianceViolation.Type getType()
-
-