Hibernate Tips: How to map an association to an Optional
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question you like me to answer, please leave a comment below. Question: How can I map an optional to-one association to a Java 8 Optional?