> One question about running JDOQL queries on of MongoDB: is there any
> chance to figure out whether a specific JDOQL query is pushed to MongoDB
> or evaluated in memory? Do I find any info about this is the DataNucleus
> log files (having the right log level)?

Log at DEBUG will show the MongoDB "query" filter. Should be clear from that if 
all components of the JDOQL are in the datastore query. 

An example
JDOQL : SELECT FROM org.jpox.samples.models.company.Person WHERE firstName == 
'Daffy' && personNum < 3

Fetching instances of collection Person fields={ "age" : 1 , "birthDate" : 1 , 
"emailAddress" : 1 , "firstName" : 1 , "globalNum" : 1 , "lastName" : 1 , 
"personNum" : 1} with filter={ "firstName" : "Daffy" , "personNum" : { "$lt" : 
3}}

In this case the "filter" is complete, hence nothing to do in-memory. The 
"fields" part of that line are the fields retrieved (i.e DFG)

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

Reply via email to