I am getting a NullPointerException when using Spring Data with: @Lock + @EntityGraph + @ElementCollection Have a look to that small project I created which reproduces the issue: https://github.com/vianneyfaivre/jpa-entity-graph-issue I have put more details in the README of that project. I initially opened a bug in Spring Boot issue tracker: https://github.com/spring-projects/spring-boot/issues/20341 They closed it and told me to open a bug here, let me know if you need me to reproduce that issue without using Spring Boot. |