Hi,

I'm stuck with an issue I hope someone can help with (googling doesn't
produce much useful results)

I have Java class MyClassA declared with @PersistenceCapable and that
has all its members declared with @Persistent.

One of the members is of type Vector<MyClassB> myClassBVectorMember,
declared with @Persistent(serialized="true").

I want the POJO XML serialization to happen for the
myClassBVectorMember when I serialize the object of MyClassA using
JDO.

MyClassB implements Serializable.

Now, what happens, is that serialization and deserialization of all
the other fields (of core types) in MyClassA works fine, but the
vector isn't serialized correctl - when the object is serialized and
deserialized, the vector is always re-created empty.

If someone can give any hints or references to what attributes I need
to use in both MyClassA and MyClassB to achieve the correct POJO XML
serialization within a GAE datastore object, I'd appreciate it.

Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to