Hi,

I found a weird behaviour (testing in dev mode). Suppose I have an entity
with a NonPersistent child, say *child*. I want to cache parent to memcache
for fast access also I want child to be cached with parent. Since *child* is
NonPersistent, so, after fetching (and detaching) parent from datastore I am
assigning *child* an instance (parent.*child* = new Child()) then saving it
to memcache. But next time when I fetched parent from memcache, *child* is
again null. Why? I noticed that this happens only if I detach parent, if I
don't, *child* survives. It doesn't matter weather I detach before or after
assignment, *child* dies. Is it an expected behaviour of an detached object
or a bug?
--

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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to