Hibernate Tips: How To Map an Entity to a Query
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: Does Hibernate allow me to map an entity to a query instead of a database table? If yes, how…