Quick Overview: When we're talking about performance optimizations for Spring Data JPA, the handling of The LazyInitializationException is one of the most common exceptions when working with Hibernate. There are a few easy ways ... Simple example on how to use Spring Data and JPA annotations to associate

How To Initialize Entity Associations - Detailed Overview & Context

When we're talking about performance optimizations for Spring Data JPA, the handling of The LazyInitializationException is one of the most common exceptions when working with Hibernate. There are a few easy ways ... Simple example on how to use Spring Data and JPA annotations to associate EntityGraphs and JOIN FETCH clauses provide an easy and efficient way to fetch an Get more recipes like this one in my new book Hibernate Tips: More than 70 solutions to common Hibernate problems: ... JPA and Hibernate make it very easy to model

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' ...

Photo Gallery

How to Initialize Entity Associations with Spring Data JPA
5 ways to initialize lazy associations and when to use them
LazyInitializationException: What it is and the best way to fix it
Spring Data Associations
Hibernate: Best way to fetch an association defined by a subclass
Hibernate Tip: How to order associated entities without writing a custom query
Hibernate Tip: Best way to remove entities from a many-to-many association
Polymorphic Association: Mappings of independent classes
Hibernate Tip: Easiest way to manage bi-directional associations
Hibernate Tip: How to initialize lazy relationships within a query
Hibernate Tip: How to fetch associations in batches
Hibernate Tip: How to activate an entity listener for all entities
Sponsored
Sponsored
View Main Result
Sponsored
Sponsored