Files
spring-boot-demo/validation/output/17-jpa-integration.txt
T

23 lines
669 B
Plaintext

== generated columns of ACCOUNT (H2 information_schema)
AGE INTEGER length=null nullable=NO
ID BIGINT length=null nullable=NO
USERNAME CHARACTER VARYING length=50 nullable=NO
== check constraints on ACCOUNT
"AGE" >= 18
== persist(new Account(null, 15))
jakarta.persistence.RollbackException
age: must be greater than or equal to 18
username: must not be null
rows in ACCOUNT: 0
== load, setAge(10), commit (no save or merge call)
jakarta.persistence.RollbackException
age: must be greater than or equal to 18
== validate a loaded entity whose lazy List<@Valid Note> is untouched
notes initialised before: false
(no violations)
notes initialised after: false