You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.h2.jdbc.JdbcSQLException: NULL nicht zulässig für Feld "xyz" gets translated to org.springframework.jdbc.UncategorizedSQLException [SPR-7480]
#12138
MySQL returns java.sql.SQLException: Field 'xyz' doesn't have a default value
Spring translates it to org.springframework.jdbc.UncategorizedSQLException
Axel Fontaine opened SPR-7480 and commented
When trying to insert a NULL value into a NOT NULL column
H2 Returns org.h2.jdbc.JdbcSQLException: NULL nicht zulässig für Feld "xyz"
Spring translates it to org.springframework.jdbc.UncategorizedSQLException
On Oracle and HsqlDB, Spring correctly translates this case to org.springframework.dao.DataIntegrityViolationException
Affects: 3.0.4
Issue Links:
The text was updated successfully, but these errors were encountered: