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 java.lang.Integer"; SQL statement: update PERMISSION_CHILD set REFERENCES = REFERENCES - ? where PERMISSION_CHILD.PARENT_ID = ? and PERMISSION_CHILD.CHILD_ID = ? [50000-181] at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1198) at com.mysema.query.sql.dml.AbstractSQLClause.executeBatch(AbstractSQLClause.java:161) at com.mysema.query.sql.dml.AbstractSQLClause.executeBatch(AbstractSQLClause.java:171) at com.mysema.query.sql.dml.SQLUpdateClause.execute(SQLUpdateClause.java:190) Does this indicate a bug in H2 or in my own code? Thank you, Gili -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
