I have an entity containing a List that is thus lazy loaded by default:
List
lazy
interface MyEntityRepository extends CrudRepository
You can force eager fetch writing custom HQL query with left join fetch, eg:
left join fetch
interface MyEntityRepository extends CrudRepository { @Query("select e from MyEntity e left join fetch e.bar b where e.id = ?1") MyEntity findOne(long id) }