JPA Annotation Attribute
in javax.persistence.OneToOne

boolean optional default true


(Optional) Whether the association is optional. If set to false then a non-null relationship must always exist.
Since:
JPA 1.0