Database Reference
In-Depth Information
For the 3.2.1-specific information, please consult http://docs.spring.io/spring-data/data-
neo4j/docs/3.2.1.RELEASE/reference/html . For the latest stable release, please consult ht-
tp://docs.spring.io/spring-data/data-neo4j/docs/current/reference/html .
C.1. Maven configuration
If you're using Maven, you need to ensure that one of the following sets of Maven de-
pendencies (either listing C.1 or C.2 as appropriate) is included in your pom.xml file. The
choice depends on which mapping mode you are using.
The following listing shows the dependencies for the simple mapping mode.
Listing C.1. Maven dependencies required for the simple mapping mode
In theory, the core spring-data-neo4j artifact should be all that's required, but in
reality there's currently one other library that also needs to be included in order for SDN to
function correctly, and it is an implementation of the JSR-303 Validation Spec API. In our
sample code, we've chosen the Hibernate implementation. The SDN library itself makes
use of the validation API, so users need to provide an actual implementation at runtime.
Both the simple and advanced versions of the SDN library make use of Maven's transitive
dependency management system to ensure that all of the supporting libraries required for
development are automatically pulled down.
 
Search WWH ::




Custom Search