Jose, properties only support primitive types strings and arrays thereof you might look at our contribution to spring data i.e. github.com/springsource/spring-data-graph where this is possible
please ask if you have any questions michael Sent from my iBrick4 Am 06.02.2011 um 19:02 schrieb Jose Angel Inda Herrera <jai...@estudiantes.uci.cu>: > Hello list > an instance of a class can not be stored on a property, for example, > I have a class person > > Pesrson class > { > String name; > ... > Trolley car; > Node node; > public Person (...) > { > this.node = paramNode; > node.setProperty ("car", car); > } > > } > > this can be done. > quiesira also explain to me neo4j storage, for instance when I do, > Node node = graph.createNode (); > Person p = new Person (node); > because you have a field of type Node in person if what is stored is not the > only instance of Node Person. The neo4j how to handle this? > thank beforhand > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user