blaze-persistence
blaze-persistence copied to clipboard
Omit CTEs from object query of PaginatedCriteriaBuilder if possible
CTETest contains some pagination tests that unnecessarily render CTEs and joins to them in the object query. We should build a dependecy graph for CTEs so that we can detect from the main query, that a JoinNode to a CTE is not required and thus be able to omit the CTE.