1. Environment:
java1.5, OpenJPA 1.2.1 , castor 1.2
2. any object retrieved from database by OpenJPA cannot be serialized to xml by
castor. No error message from org.exolab.castor.xml.Marshaller . The result
xml file is completely empty
3. When the same persistent class is instantiated by "new" operator, the
instantiated object can be serialized by castor.
4. The only different between "openJPA detached objects" and "new instantiated
objects" is the "openJPA detached objects" has member pcStateManager = null.
Questions:
1. is this behavior related the pcStateManager member in the detached
persistent objects?
2. What is the purpose of pcStateManager ?
3.How does it affect the serialization behavior ?
--
View this message in context:
http://n2.nabble.com/openJPA-detached-object-can-not-be-serialized-by-Castor.--is-it-related-with-pcStateManager--tp2636117p2636117.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.