I have 2 entities with the following
Entity A that contains:
Entity B that contains:
When I try to persist an object A wth b = null, I got the following exception
A workaround is to disable the nullability validator.
Otherwise, I've found the field b of class A is considered as not nullable. This seems to happen in the OneToOneSecondPass class that do not consider the @NotFound annotation. Then the built property has optional = false and this become nullable = false when the entity model is built.