Click here to Skip to main content
15,063,183 members
Articles / Web Development / Spring

Stats

32.3K views
137 downloads
3 bookmarked

Hibernate - Many to Many Mapping via Join-Table

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
4 Jan 2016Ms-PL15 min read
Detailed description of how many-to-many association works with Hibernate, using MySQL and Spring
In this post, I will list out some issues that I had to deal with while working on a small project where I needed to use many to many mapping between two entities. Once I hashed out all the issues, there is a great way to represent two entity types in many-to-many relationship. This tutorial will show you why and how this is great.

Views

Downloads

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Han Bo Sun
Team Leader The Judge Group
United States United States
No Biography provided

Comments and Discussions