Sep 19th, 2011, 03:49 AM
Spring Data Graph - Loaded Object Serialization Problem
We tried to serialize an Domain-Object (Pojo with Spring Data Graph Annotations), which we have loaded before from the neo4j graph database.
We tried out Java Serialization and JAXB XML generation:
In both cases the serialization end without errors but all the attributes of the object are serialized with null!!!
Does anybody know a solution for this task?
The strange thing is, if we copy the attributes to a new Object of the Domain-Class and serialize this object, the attributes are serialized correctly. So we think the problem occurs when the loaded Domain-Object is coupled with the Interface NodeBacked.
Does any change of the source solve this problem?
Tags for this Thread