Class NamedQueryValidationException

  • All Implemented Interfaces:

    public class NamedQueryValidationException
    extends QueryException
    Indicates that validation and translation of one or more named queries failed at initialization time. This exception packages every QueryException that occurred for an invalid HQL/JPQL query, together with any exceptions that indicate problems with named native SQL queries.
    See Also:
    Serialized Form
    • Method Detail

      • getErrors

        public Map<String,​HibernateException> getErrors()
        A map from query name to the error that occurred while interpreting or translating the named query.