Subscribe on YouTube to not miss any video.
Association Mapping Pitfalls
The mapping of associations seems easy but there are several pitfalls you should avoid.
Articles mentioned in the video:
- Ultimate Guide – Association Mappings with JPA and Hibernate
- Entity Mappings: Introduction to JPA FetchTypes
- Why you should avoid CascadeType.REMOVE for to-many associations and what to do instead
- How to Choose the Most Efficient Data Type for To-Many Associations – Bag vs. List vs. Set