If I have a subclass entity in a single table inheritance hierarchy, and it has an embeddable with an attribute annotated @Basic(optional=false), then optional=false should not lead to a not null constraint. It should still result in a constraint in all other inheritance mappings. |