How do I create an optional one-to-one mapping in the hibernate hbm file? For example, suppose that I have a User and a last_visited_page table. The user may or may not have a l
Had the same issue, resolved with @OneToOne(optional = true) on the User class (hibernate 5.2.17.Final)
@OneToOne(optional = true)