GORM "getNextException" equivalent
Posted
by
Josh K
on Stack Overflow
See other posts from Stack Overflow
or by Josh K
Published on 2010-12-29T05:49:13Z
Indexed on
2010/12/29
5:53 UTC
Read the original article
Hit count: 261
GORM sits on top of [Hibernate](http://en.wikipedia.org/wiki/Hibernate_(Java). The issue is that sometimes Hibernate will throw exceptions from the JDBC driver that I can't figure out how to investigate.
Specifically:
Could not execute JDBC batch update; /* snip */
Caused by: java.sql.BatchUpdateException: /* snip */
[insert] was aborted. Call getNextException to see the cause.
If it makes any difference I'm using PostgreSQL.
© Stack Overflow or respective owner