Sorry for the false alarm. I tracked this back to a bug in one of my DB
triggers.
I am now investigating why the correct stacktrace being printed. I know
QueryDSL wraps the JdbcBatchUpdateException in a QueryException. Invoking
JdbcBatchUpdateException.printStackTrace()
prints the correct
Got it: http://stackoverflow.com/a/17378186/14731
So in the case of batched queries, it looks like I need to add explicit
usage of getNextException(). I've noticed you made an attempt in
JdbcBatchUpdateException to improve the situation (you print out
getNextException() in printStackTrace()).
Hi,
I am using H2 version 1.4.181. I am executing a PreparedStatement that
takes 3 arguments (int, short, short) and when I do so I get the following
exception:
org.h2.jdbc.JdbcBatchUpdateException: General error:
java.lang.ClassCastException: java.lang.Short cannot be cast to
Can you post the rest of the stacktrace? The actual source of the
exception is not shown.
On Tue, Oct 14, 2014 at 6:21 AM, Gili cow...@bbs.darktech.org wrote:
Hi,
I am using H2 version 1.4.181. I am executing a PreparedStatement that takes
3 arguments (int, short, short) and when I do so I
Hi Noel,
Does this help?
00:39:50.039 [qtp381325774-3642] ERROR
com.vtlr.backend.QueryExceptionMapper.toResponse() - SQLState: HY000
com.mysema.query.QueryException: Caught JdbcBatchUpdateException for
update PERMISSION_CHILD
set REFERENCES = REFERENCES - ?
where PERMISSION_CHILD.PARENT_ID =