db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@datanucleus.org>
Subject Re: Minutes: JDO TCK Conference Call Friday, Mar 4, 9 am Pacific Time
Date Sat, 05 Mar 2011 08:44:05 GMT
> 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.

DataNucleus (http://www.datanucleus.org)

View raw message