Hi Group,

I currently started working on a JPQL-Query builder which I need to modify queries (for security reasons) after they have been generated for the basic intend. I stumbled over OpenJPA and the JPQLExpressionBuilder, JPQLParser, etc. classes and wondered if iz is possible to use them to programmatically create a JPQL query and modify it before executing it. It would be perfect if I even could parse a JPQL query, modify it and then pass it back. Any hints or snippets on how to start would be nice, since I don't really know where to start and the API isn't (at least for me) intuitive enough to figure it out on my own.

Thank you in advance.

Regards Jakob

Reply via email to