Declarative JDOQL vs Single-String JDOQL : performance
- by DrDro
When querying with JDOQL is there a performance difference between using the declarative version and the Single-String version:
Example from the JDOQL doc:
//Declarative JDOQL :
Query q = pm.newQuery(org.jpox.Person.class, "lastName == \"Jones\" && age < age_limit");
q.declareParameters("double age_limit");
List results =…