Java persistence with JPA and Hibernate, Part 2: Many-to-many relationships

See the original posting on JavaWorld

The first half of this tutorial introduced fundamentals of the Java Persistence API and showed you how to configure a JPA application using Hibernate 5.3.6 and Java 8. If you’ve read that tutorial and studied its example application, then you know the basics of modeling JPA entities and many-to-one relationships in JPA. You’ve also had some practice writing named queries with JPA Query Language (JPQL).

To read this article in full, please click here