HSQLDB « Exception « JPA Q&A





2. Exception dealing - Hsqldb    forum.hibernate.org

Hi, I'm getting a problem to map exceptions on Hsqldb. When i'm connected with postgresql for intance, a Unique Key violation returns the constraint name on exception message: HibernateException.getCause().getNextException() With this method sequence I get the JDBC driver exception message. The problem is, Hsqldb with hibernate does not return the JDBC exception message. Somebody knows what is going on? Any help ...