diff --git a/src/docbkx/reference/setup.xml b/src/docbkx/reference/setup.xml index f0104b493..3f058ad46 100644 --- a/src/docbkx/reference/setup.xml +++ b/src/docbkx/reference/setup.xml @@ -257,6 +257,25 @@ repositories { ]]> + + XML configuration with GraphDatabaseService bean + + + + + + + + + + + +]]> + + + XML configuration with cross-store @@ -311,7 +330,7 @@ repositories { - In order to configure Spring Data Neo4j with Java-based bean metadata, the class + In order to configure Spring Data Neo4j with Java-based bean config, the class Neo4jConfiguration is registered with the context. This is either done explicitly in the context configuration, or via classpath scanning for classes that have the @Configuration annotation. The only thing that must be provided is the diff --git a/src/docbkx/tutorial/annotations.xml b/src/docbkx/tutorial/annotations.xml index 47fbcd017..1aa9b1d2d 100644 --- a/src/docbkx/tutorial/annotations.xml +++ b/src/docbkx/tutorial/annotations.xml @@ -55,8 +55,8 @@ class Movie { @Test @Transactional public void persistedMovieShouldBeRetrievableFromGraphDb() { Movie forrestGump = template.save(new Movie("Forrest Gump", 1994)); Movie retrievedMovie = template.findOne(forrestGump.getNodeId(), Movie.class); - assertEqual("retrieved movie matches persisted one", forrestGump, retrievedMovie); - assertEqual("retrieved movie title matches", "Forrest Gump", retrievedMovie.getTitle()); + assertEquals("retrieved movie matches persisted one", forrestGump, retrievedMovie); + assertEquals("retrieved movie title matches", "Forrest Gump", retrievedMovie.getTitle()); } ]]>