Hi, I believe H2 should throw SQLState 2201C instead of 23502 when users attempt to insert NULL into a column that disallows it.
H2's documentation can be found here: http://www.h2database.com/javadoc/org/h2/constant/ErrorCode.html#c23502 SQLState 2201C is defined as "null row not permitted in table" by the SQL 2008 standard as found in 5CD-02-Foundation-2006-01.pdf in: http://en.wikipedia.org/wiki/SQL#cite_note-39 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
