darrachequesne / spring-data-jpa-datatables

Spring Data JPA extension to work with the great jQuery plugin DataTables (https://datatables.net/)
Apache License 2.0
441 stars 174 forks source link

[fix] Add proper JOIN FETCH clause #67

Closed darrachequesne closed 6 years ago

darrachequesne commented 6 years ago

There was a regression in 2422028, where a JOIN FETCH would be added for @OneToMany relationships, triggering the dreaded "firstResult/maxResults specified with collection fetch; applying in memory".

iamareebjamal commented 6 years ago

It seems the Hibernate version used here is < 5.2 which is causing the issue #71

5.2 was released in 2016 and does not have AbstractPathImpl in the package referred in this code. This makes it very difficult for us to upgrade to >4.1

Please look into it when you get time