Mike,

Using Spring Data Graph, when defining a node entity using annotations...

@NodeEntity
public class User...

... the following code not work compile....Eclipse complains that the
persist() method is not defined for class User, which is true, but in the
imdb sample project it's coded the same way for Actor, Movie, etc. What am I
missing? 

..new User(...).persist();




-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Michael Hunger
Sent: Monday, August 08, 2011 8:59 PM
To: Neo4j user discussions
Subject: Re: [Neo4j] Defining relationships declaritavely or with
annotations

What does make you think it not being very mature? As one of the project
leads I'm very interested in your thorough evaluation.

There are other libraries that follow a similar approach (annotation based
mapping), like jo4neo.

Neo4j itself is about the core-database, higher level bindings or drivers
are provided mostly by the community.

Michael

Am 09.08.2011 um 02:44 schrieb etc1:

> Hi Michael,
> 
> I saw that, but it does not look very mature. Does neo4j offer any 
> other options aside from doing it in the code? XML config, etc, 
> anything but hardcoding programmatically.
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Michael Hunger
> Sent: Monday, August 08, 2011 8:41 PM
> To: Neo4j user discussions
> Subject: Re: [Neo4j] Defining relationships declaritavely or with 
> annotations
> 
> You might look into Spring Data Graph for a declarative object graph 
> mapping.
> 
> See:
> 
> http://springsource.org/spring-data/neo4j
> http://bit.ly/sdg-html
> 
> Cheers
> 
> Michael
> 
> Am 09.08.2011 um 02:34 schrieb etc1:
> 
>> Hi,
>> 
>> Is it possible to define relationships using declarative 
>> configuration or annotations? The Getting Started guide illustrates 
>> how to do it programmatically, but I prefer to keep relationship 
>> mappings outside of the code, it will be easier to maintain.
>> 
>> Thanks
>> 
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
> 
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
> 
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to