Hello Michael, Matthew. Thanks for your response.

So if there are any chances of contacting James to see if he could share 
some thoughts or recommendations, I'd like to reiterate my interest in 
learning how to annotate Jaxb/XSD generated classes with Spring Neo4J 
annotations so that they could somehow be persisted inside a Neo4J instance.

Initially, I think all the elements from an XSD schema should get annotated.

Hopefully what I'm talking about makes sense.

Thanks again for your time and help!

On Tuesday, 14 February 2012 09:25:12 UTC-5, Matthew Young wrote:
>
> Haven't started using Neo4j but so far what I have read it might be an 
> interesting platform to switch over to. 
>
> Need to map JAXB generated classes into graph nodes and 
> relationships.  Neo4j looks (at this point) only to handle primitive 
> fields.  Assuming this is done for performance or querying reasons? 
> This mean complex types can't be stored with the "owning" node. 
>
> Looked at the Spring Neo4j integration and thought about when 
> generating POJOs with XJC I could add the Spring/Neo4j annotations so 
> that complex types as child elements are represented within Neo4j via 
> the @RelatedTo annotation and inside the get/set method for handling a 
> child element I have a default relationship type. 
>
> Also thought about lets Neo4J save the XML representation of my 
> classes as string data then like in Hibernate if the idea of a 
> UserType exists to marshall/unshall the string data into POJO that the 
> service layers takes care.  Querying I might be able to handle with a 
> Lucene XML indexer (know the Apache Jackrabbit project uses one).  But 
> this seemed a tad convoluted. 
>
> Basically wondering if anybody else has rolled there JAXB POJOs into 
> Neo4j before and how? 
>
>
> Thanks in advance / Matthew

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to