Hibernate Tips: How to Customize a Constructor Expression for Different Subclasses
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 post a comment below. Question: Last week, one of my coaching clients asked an interesting question: He used the InheritanceType.SINGLE_TABLE to map an inheritance hierarchy…
