diff --git a/spring-data-neo4j-examples/cineasts-aspects/src/test/java/org/neo4j/cineasts/domain/DomainTest.java b/spring-data-neo4j-examples/cineasts-aspects/src/test/java/org/neo4j/cineasts/domain/DomainTest.java index 114ec458c..8150ebb9e 100644 --- a/spring-data-neo4j-examples/cineasts-aspects/src/test/java/org/neo4j/cineasts/domain/DomainTest.java +++ b/spring-data-neo4j-examples/cineasts-aspects/src/test/java/org/neo4j/cineasts/domain/DomainTest.java @@ -65,9 +65,8 @@ public class DomainTest { User user = new User("ich","Micha","password").persist(); Rating awesome = user.rate(movie, 5, "Awesome"); - User foundUser = userRepository.findByPropertyValue("login", "ich"); - Rating rating = user.getRatings().iterator().next(); + Rating rating = foundUser.getRatings().iterator().next(); assertEquals(awesome,rating); assertEquals("Awesome",rating.getComment()); assertEquals(5,rating.getStars()); diff --git a/src/docbkx/reference/programming-model/aspectj.xml b/src/docbkx/reference/programming-model/aspectj.xml index 94ba6d70b..a7c55b557 100644 --- a/src/docbkx/reference/programming-model/aspectj.xml +++ b/src/docbkx/reference/programming-model/aspectj.xml @@ -50,8 +50,8 @@ http://www.eclipse.org/ajdt/downloads/ (it might be necessary to use the latest development snapshot of the plugin). The current version that does not show incorrect errors is AspectJ 1.6.12 (included in STS 2.8.0), previous versions are reported - to mislead the user. Note that as of Spring Data Neo4j version 2.0.1 the AspectJ version 1.7.0 is not yet supported. This also - means that AJDT 2.2.0 on Eclipse 4.2 is not yet supported as this version of AJDT internally uses AspectJ 1.7.0. + to mislead the user. Note that AJDT (as of September 2012) requires projects to be rebuild after Eclipse is started to fully + support all advanced features.