Class HibernateQueryException

All Implemented Interfaces:
Serializable

public class HibernateQueryException extends InvalidDataAccessResourceUsageException
Hibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax.
Since:
4.2
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • HibernateQueryException

      public HibernateQueryException(QueryException ex)
  • Method Details

    • getQueryString

      @Nullable public String getQueryString()
      Return the HQL query string that was invalid.