Hibernate Tips: How to map the latest element of an association
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 for a future Hibernate Tip, please leave a comment below. Question: I want to map the latest element of a to-many association as an entity attribute. How can I map…