> 2. Typesafe ... query capability for JDOQL - ready for check-in?. > https://issues.apache.org/jira/browse/JDO-652 > Some questions: the factory for query instances: should it be PM or > PMF? Hint: do you really need to have the PM available in order to > build a query? The PM represents your current connection to the > database; the PMF represents the object model and mapping.
To build a query you don't need the PM (but then to create a javax.jdo.Query object you don't really need a PM either :-P). To execute a (Query/)TypesafeQuery/TypedQuery you need a PM, and if you put constructor on the PMF then you have to pass the PM into the executeXXX methods. > Is there a bug in the blog? Yes there was, fixed thx. > JDO-678 Set properties on PersistenceManager > Seems like a good idea. Patch? Will do. Regards -- Andy DataNucleus (http://www.datanucleus.org)