User-defined Query Methods can take several forms. The challenge consist of the ability to add the dynamically generated Access Control WHERE clause ( almost complete in #5 ) to the query string without breaking its logical structure.
Other JPQL query parts may need to be adapted or added if not defined by the developer, for instance:
JOIN FETCH
Aliases for entities and for accessing fields
This requires using or developing a parser for JPQL queries (HQL, or SQL), which can easily distructure the query into the following major parts:
SELECT part
FROM part
JOIN (all kinds) part
WHERE part
OTHER parts
( ! ) This issue currently blocks further development of #5 .
User-defined Query Methods can take several forms. The challenge consist of the ability to add the dynamically generated Access Control WHERE clause ( almost complete in #5 ) to the query string without breaking its logical structure.
Other JPQL query parts may need to be adapted or added if not defined by the developer, for instance:
This requires using or developing a parser for JPQL queries (HQL, or SQL), which can easily distructure the query into the following major parts:
( ! ) This issue currently blocks further development of #5 .