Hibernate Tip: Create an EntityGraph with multiple SubGraphs

Hibernate Tip: Create an EntityGraph with multiple SubGraphs

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: On my tutorial about JPA’s EntityGraphs, Bipin Shrestha asked the following question: “Can you show me an example of…

Hibernate Tip: Many-to-Many Association with additional Attributes

Hibernate Tip: Many-to-Many Association with additional Attributes

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: I got several questions, like the following one by Carme, about the mapping of a many-to-many association that contains…

Hibernate Tip: How does Hibernate’s native ID generator work

Hibernate Tip: How does Hibernate’s native ID generator work

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: One of the readers of my article about using Hibernate with a MySQL database asked the following question: What is…