Ok, I tried bumping up the debugging. When saving a new "Make" object
(with no associated Models or Options) I get the following (only
showing info relevant to Models and Options):
<field name="models"
persistence-modifier="persistent"
null-value="none"
default-fetch-group="false"
embedded="false"
unique="false">
<collection element-type="net.uidl.carsales.Model" embedded-
element="false">
</collection>
<field name="options"
persistence-modifier="persistent"
null-value="none"
default-fetch-group="true"
embedded="false"
unique="false">
<collection element-type="java.lang.String" embedded-element="true">
FINE: Object "net.uidl.carsales.m...@5b8e8c" field "models" is
replaced by a SCO wrapper of type
"org.datanucleus.sco.backed.List" [cache-values=true, lazy-
loading=true, queued-operations=false, allow-nulls=false]
FINE: options : null
18/08/2009 12:42:58 org.datanucleus.ConnectionManagerImpl
allocateConnection
And when loading a make I get the following:
FINE: Object "net.uidl.carsales.m...@1be996d" field "models" loading
contents to SCO wrapper from the datastore
18/08/2009 13:04:27 org.datanucleus.ConnectionManagerImpl
allocateConnection
FINE: Connection found in the pool :
org.datanucleus.store.appengine.DatastoreConnectionFactoryImpl
$datastoremanagedconnect...@4aca27
18/08/2009 13:04:27
org.datanucleus.store.appengine.DatastoreElementContainerStoreSpecialization
prepareChildrenQuery
FINE: Preparing to query for all children of Make(1) of kind Model
18/08/2009 13:04:27
org.datanucleus.store.appengine.DatastoreElementContainerStoreSpecialization
prepareChildrenQuery
FINE: Added filter: models_INTEGER_IDX GREATER_THAN_OR_EQUAL 0
18/08/2009 13:04:27
org.datanucleus.store.appengine.DatastoreElementContainerStoreSpecialization
prepareChildrenQuery
FINE: Added sort: models_INTEGER_IDX ASCENDING
18/08/2009 13:04:27
org.datanucleus.store.appengine.DatastoreElementContainerStoreSpecialization
getChildren
FINE: Query had 0 results.
Regards,
Dominic.
On Aug 17, 12:31 pm, datanucleus <[email protected]> wrote:
> Why not just look at the log (DEBUG level) since it tells you what
> fields are loaded in what object and what the object states are.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---