I looked in to the DB Viewer, and as well, I was trying to retrieve the
entity elsewhere immediately, and I got the message
pm.currentTransaction().begin();
log.info("Getting global tenant");
Key key = KeyFactory.createKey(Tenant.class.getSimpleName(),
GlobalTenant.globalTenantName);
tenant = pm.getObjectById(Tenant.class, key.getName());
log.info(tenant.getName());
pm.currentTransaction().commit();
and here is the log...
[java] javax.jdo.JDOObjectNotFoundException: Could not retrieve entity
of kind Tenant with key Tenant("GB1Tenant90")
[java] NestedThrowables:
[java] org.datanucleus.exceptions.NucleusObjectNotFoundException: Could
not retrieve entity of kind Tenant with key Tenant("GB1Tenant90")
[java] 6 Mar, 2010 6:26:26 AM org.datanucleus.state.LifeCycleState
changeState
[java] FINE: Object "com.veersoft.party.ten...@270fc4"
(id="com.veersoft.party.Tenant:ag12cy1hY2NvdW50aW5nchcLEgZUZW5hbnQiC0dCMVRlbmFudDkwDA")
has a lifecycle change : "P_CLEAN"->"HOLLOW"
[java] 6 Mar, 2010 6:26:26 AM org.datanucleus.ConnectionManagerImpl$1
managedConnectionPostClose
-Aswath
On Fri, Mar 5, 2010 at 7:27 PM, datanucleus <[email protected]>wrote:
> Yes it does persist, the log says so. And your evidence for saying it
> doesn't is what exactly ? Looked in the DB viewer ?
>
> --
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
--
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.