# A record with primitive components (Dim(int width, int height)) as an optional embedded attribute
# Hibernate ORM 7.4.17.Final, H2 2.4.240, JDK 25

== Columns of table box
   HEIGHT | INTEGER | null | 32 | 0 | YES
   WIDTH | INTEGER | null | 32 | 0 | YES
   ID | BIGINT | null | 64 | 0 | NO
-- persist Box(1, Dim(3, 4))
   sql> insert into Box (width,height,id) values (?,?,?)
   => persisted
-- persist Box(2, null)
   sql> insert into Box (width,height,id) values (?,?,?)
   => persisted
   rows: [4 | 3 | 1, null | null | 2]
