*I'm trying to save the `foo` entity to the `foo` namespace. But it always
ends up in the default namespace even though `NamespaceManager.get()` always
returns `foo`.*

*Steps:*

*1. The namespace is set to `foo` before the `storeModel` method is called.*
*
*
*2. At each step of this method, `NamespaceManager.get()` is called to
verify that the namespace is still set to `foo`.*



    public Foo storeModel(Foo foo) {
>
>
>     logit.warn("namespace:" + NamespaceManager.get()); // namespace =
> "foo"
>
>     PersistenceManager pm = getPersistenceManager();
>
>     logit.warn("namespace:" + NamespaceManager.get()); // namespace =
> "foo"
>
>     pm.makePersistent(foo);
>
>     logit.warn("namespace:" + NamespaceManager.get()); // namespace =
> "foo"
>
>     pm.close();
>
>     logit.warn("namespace:" + NamespaceManager.get()); // namespace =
> "foo"
>
>     return foo;
>
>     }


How is it possible that this entity is persisted *to the default
namespace*every time even though
*NamespaceManager.get()* returns *foo*?

-- 
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-java@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