Top Description Fields Constructors Methods
org.hibernate.query

public Class NamedQueryValidationException

extends QueryException
Class Inheritance
Imports
org.hibernate.HibernateException, .QueryException, java.util.Map

Indicates that validation and translation of one or more named queries failed at initialization time. This exception packages every org.hibernate.QueryException that occurred for an invalid HQL/JPQL query, together with any exceptions that indicate problems with named native SQL queries.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final Map<String, HibernateException>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Map<String, HibernateException>
getErrors()

A map from query name to the error that occurred while interpreting or translating the named query.

Inherited from org.hibernate.QueryException:
generateQueryExceptiongetMessagegetOriginalMessagegetQueryStringwrapWithQueryString

Field Detail

errorsback to summary
private final Map<String, HibernateException> errors

Constructor Detail

NamedQueryValidationExceptionback to summary
public NamedQueryValidationException(String message, Map<String, HibernateException> errors)

Method Detail

getErrorsback to summary
public Map<String, HibernateException> getErrors()

A map from query name to the error that occurred while interpreting or translating the named query.