Spring Data JPA cannot Get Entity Proxy via getOne() method

#1

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.

0 Likes

#2

Hello @uliana_stefa

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.

0 Likes

closed #3
0 Likes