I'm a bit surprised this is lazy loaded considering we retrieve the data if
it's just embedded. At any rate, design around this programmatically by
adding loading at your DAO layer.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Sat, Sep 25, 2010 at 8:56 AM, Pavel Minchenkov <char...@gmail.com> wrote:

> Hi,
> How can I configure my JDO class that serialized field should always
> loaded?
>
> PersistenceManager pm = PMF.get().getPersistenceManager();
>
> try {
>        SomeObject obj = (SomeObject) pm.getObjectById(clazz, id);
>        // obj.getSerizliedField(); // not null
> }
> finally {
>        pm.close();
> }
>
> obj.getSerizliedField(); // is null
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to