Christian Beikov, that only applies when Hibernate is bootstrapped with JPA (e.g. building an EntityManagerFactory). When you bootstrap it to operate in native mode (e.g. building a SessionFactory), then Hibernate should return HibernateException based errors, e.g. QueryException. |