I want to know if JPA provides a way to test the parsing of a JPQL query just before the query gets executed.
Best regards,
I want to know if JPA provides a way to test the parsing of a JPQL query just before the query gets executed.
Best regards,
No. The JPA
spec doesn't provide an option to "compile" the query (unlike what the JDO
persistence spec provides), so there is no reliable way of doing that. Some implementations compile at creation of the Query, and others just before execute.