when getOne() method is called it makes a select query to the database and returns a proxy object instead of being lazy and just return a proxy object with id like Hibernate’s getReference() does. Even if I set spring.jpa.open-in-view=false nothing changed.
Thanks for the report, but we, the Hibernate team, can’t really help you since it’s a problem in Spring Data JPA, which we don’t work on.
I would suggest to submit your problem to the Spring Data team.
yrodiere closed #3