Originally logged in bitbucket under Issue #193. I do not recall the details behind the issue, and I do not have access to look at the Lucee bitbucket issues that were logged. Maybe someone from LAS will grab the Issue#193 write up and include it in this ticket? In any case, in any case. Sometimes hibernate and lucee throw very basic "Hibernate Exceptions" which were intended by hibernate to contain more detailed nested exceptions for inspection. Railo (and Lucee) doesn't show this very well. It would be good if we could see the SQL statements that hibernate is running. It would be good to see the underlying RDBMS message that causes some of the generic hibernate errors.
text from bitbucket ticket #193
_hibernate sends enigmatic errors such as 'Could not execute JDBC batch update' and others. Furthermore the sql statement is the important part, and it is rarely shown in the error message, if ever. It should show the database error with hibernate generic errors shown as supplemental information.
I have a pull request coming._