blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

CriteriaBuilder does not support nested fetch paths when paginating

Open Mobe91 opened this issue 3 weeks ago • 0 comments

When using CriteriaBuilder.fetch() with nested paths the join fetches are not present in the object query with pagination. As a workaround, the subpaths have to be passed to fetch() individually, but this shouldn't be necessary: Won't work with pagination:

cb.fetch("document.owner")

Workaround:

cb.fetch("document", "document.owner")

Mobe91 avatar Dec 11 '25 12:12 Mobe91