Hi,

I added this problem to the documentation, could you verify whether
this is correct?

== Error Code Incompatibility ==

There is an incompatibility with the Spring JdbcTemplate and H2
version 1.3.154 and newer, because of a change in the error code. This
will cause the JdbcTemplate to not detect a duplicate key condition,
and so a DataIntegrityViolationException is thrown instead of
DuplicateKeyException. See also . The workaround is to add the
following XML file to the root of the classpath:

<beans ... ...

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to