[hibernate-dev] @NotNull on @Embeddable's property doesn't affect DDL

Christian Bauer christian.bauer at gmail.com
Sat Dec 3 10:45:46 EST 2011

See Button.java in the tests. The @NotNull on the embeddables property is checked at runtime but doesn't affect DDL, there's no NOT NULL constraint generated. Is that by design - component nullability etc. - or missing?

More information about the hibernate-dev mailing list