Sorry for the delay. I see the problem now. The error code was changed
because originally H2 didn't use the "correct" (as defined by the SQL
standard) value. There are multiple solutions:
- move the ErrorCode class to org.h2.api
- use SQLIntegrityConstraintViolationException instead of SQLException
Which one would you prefer? Or would it make sense to do both?
Regards,
Thomas
2012/2/29 András Péteri <ape...@b2international.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/h2-database/-/EtuaGZaaAHwJ.
>
> To post to this group, send email to h2-da...@googlegroups.com.
> To unsubscribe from this group, send email to
> h2-database...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
Hi,
Sorry for the delay. I see the problem now. The error code was changed
because originally H2 didn't use the "correct" (as defined by the SQL
standard) value. There are multiple solutions:
- use SQLIntegrityConstraintViolationException instead of SQLException
- move the ErrorCode class to org.h2.api
Which one would you prefer? Or would it make sense to do both?
Regards,
Thomas
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.