Hi there,
After working on spring data graph for a while now, I'm happy that the M1 
finally made its way into the public.

For all the spring developers that would like to map the domain objects to a 
graph database this is certainly something to take a look at.
We're really interested in your feedback on this approach. 
So feel free to post any questions on how to use DATAGRAPH.

You can find the source here: http://github.com/SpringSource/spring-data-graph
And examples here: http://github.com/SpringSource/spring-data-graph-examples
Reference Docs:         
http://static.springsource.org/spring-data/data-graph/docs/1.0.0.M1/reference/html/
Spring-Data Homepage: http://www.springsource.org/spring-data

As a teaser - your domain entity could look like this and be backed by the 
graph:

@NodeEntity
public class Person {
        @Indexed
        private String name;
        private int age;

        private Person spouse; // this is backed by an relationship

        @RelatedTo(type = "mother", direction = Direction.OUTGOING)
        private Person mother; // this is backed by an relationship

        @RelatedToVia(type = "knows", elementClass = Friendship.class)
        private Iterable<Friendship> friendships; // this provides access to 
relationship entities for this relationship-type
}

Thanks

Michael

Quoting the announcement email from the springsource mailing lists:

Hi everyone,

I'm happy to finally announce the first milestone release of Spring Data Graph 
1.0
project with Neo4j support. Though only an M1, the project provides:

* Simplified annotation driven programming model for Neo4j applications
* Strategy to handle representation of java types in the graph
* AspectJ ITD backed field mapping for plain Java objects
* Annotations for graph persistence
* Support for building traversal descriptions
* Support for cross-store persistence including basic transaction support
* Abstract configuration class

and reference documentation.

See the official announcement at http://www.springsource.org/node/2998

Feedback welcome!
-- 
Thomas Risberg
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to