Exception thrown by tomcat originating in database errors do not specify the table(s) that cause the problem. For example:


Caused by: java.sql.BatchUpdateException: Duplicate entry ‘483384ff93ba497da101d07dcd2a1dde’ for key ‘PRIMARY’
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1666)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1082)

This makes finding the cause of the problem hard.

This is an error since such problems should be reported in term of the WebDSL program, not its implementation.

Submitted by Eelco Visser on 8 August 2010 at 13:34

Log in to post comments