Skip to content

JPA

What’s the happens if you try to insert null-value into column constraint not null at H2 DB

Make some codes as entity, repository and application.yml (includes H2 database info).

And then, you try to run the test bellow.

The result of the test is success. It’s contrary to what you expected. The column… Read More »What’s the happens if you try to insert null-value into column constraint not null at H2 DB