JPA Annotation Attributein javax.persistence.OneToOneboolean 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