Spring Data REST HATEOS : not lazy loading
问题 Problem I have two entities defined: School and District . A district can have many schools and a school can belong to one district. When executing a GET request against this endpoint http://localhost:8080/districts I would like to get a list of all the districts WITHOUT fetching each district's set of associated schools. But it seems like no matter what I do, hibernate is making DB calls to fetch data for each school individually. Entities School @Getter @Setter @NoArgsConstructor @Entity