Mike,

Are you saying the examples on github have to be updated, or, that I should
download a newer version, namely, 1.1?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Michael Hunger
Sent: Wednesday, August 17, 2011 4:56 PM
To: Neo4j user discussions
Cc: Neo4j user discussions
Subject: Re: [Neo4j] Difficulty with spring data graph annotations...

there was a repackaging in 1.1.0
have to update the examples to 1.1.0


mobile mail please excuse brevity and typos

Am 17.08.2011 um 05:59 schrieb "etc1" <[email protected]>:

> I am still having difficulty in getting a simple project to compile in 
> Eclipse STS. I have a few questions:
> 
> What's the difference between annotations in 
> org.springframework.data.neo4j.annotation and 
> org.springframework.data.graph.annotation? The @NodeEntity and 
> @Indexed annotations appear to be defined in both.
> 
> I can't seem to figure out why the 
> relateTo(NodeBacked,RelationshipTyp)
> methods does not resolve for my entities annotated with @NodeEntity
> 
> I'm using the following versions in my pom file...
> java-version, 1.6
> org.springframework-version, 3.0.5.RELEASE 
> org.springframework.roo-version, 1.0.2.RELEASE org.aspectj-version, 
> 1.6.11.RELEASE org.slf4j-version, 1.6.1 datastore-graph.version, 
> 1.0.0.RELEASE
> 
> 
> I'm even having trouble getting the hello-worlds example working. 
> Eclipse complains that "Type mismatch: cannot convert from Class<World> to
Class<?
> extends NodeBacked>"
> 
> @RelatedTo(type = "REACHABLE_BY_ROCKET", elementClass = World.class, 
> direction = Direction.BOTH)
>    private Set<World> reachableByRocket;
> 
> But why does it complain when World.class is node-backed since it's 
> marked with @NodeEntity???. I know hello-worlds is meant to be an 
> example, but it's not helpful when it doesn't work.
> 
> Thanks, any help would be appreciated
> Raffi
> 
> _______________________________________________
> 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