users@glassfish.java.net

Re: Ejb3 Entity graph serialization problem?

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Sep 2008 10:03:53 PDT

Good suggestions, Chris. We successfully narrowed the problem: serializing a List containing a single EntityB object fails silently, the List still holds EntityB but all it's properties are null. This only happens if EntityB refers to EntityC with a ManyToOne FetchType.LAZY mapping. (The ejb call was a remote one but the entity was created via new Entity() before the return).

Is that a known serialization problem?
[Message sent by forum member 'kjozsa' (kjozsa)]

http://forums.java.net/jive/thread.jspa?messageID=297856