updated documentation
This commit is contained in:
@@ -106,7 +106,7 @@ public void foo( @Context WorldRepository repo ) {
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-neo4j-rest</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.1.0.RC1</version>
|
||||
</dependency>
|
||||
]]></programlisting>
|
||||
</example>
|
||||
|
||||
@@ -27,11 +27,16 @@ class Person {
|
||||
The validation supports needs the bean validation API and a reference implementation configured, right now this is the Hibernate Validator by default (which not integrated with Hibernate ORM). Tthe maven dependency is:
|
||||
</para>
|
||||
<example>
|
||||
<title>Hibernate Validator Dependency</title>
|
||||
<title>Validation setup</title>
|
||||
<programlisting language="java"><![CDATA[<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
<version>4.2.0.Final</version>
|
||||
</dependency>]]></programlisting>
|
||||
</dependency>
|
||||
|
||||
// the application-context should contain a LocalValidatorFactoryBean
|
||||
|
||||
<bean id="validator"
|
||||
class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"/>]]></programlisting>
|
||||
</example>
|
||||
</section>
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
</para>
|
||||
<para>
|
||||
Numerical fields are indexed numerically so that they are available for range queries. All
|
||||
other fields are indexed with their string representation.
|
||||
other fields are indexed with their string representation. If a numeric field should not be
|
||||
indexed numerically, it is possible to switch it off with <code>@Indexed(numeric=false)</code>.
|
||||
</para>
|
||||
<para>
|
||||
The <code>@Indexed</code> annotation also provides the option of using a custom index name. The default index
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
<section>
|
||||
<title>Dependencies for Spring Data Neo4j Simple Mapping</title>
|
||||
<para>
|
||||
For the simple POJO mapping it is enough to add the <code>org.springframework.data:spring-data-neo4j:2.0.0.RELEASE</code> dependency
|
||||
to your project. If you want to use the Cypher query language please add <code>org.neo4j:neo4j-cypher:1.6</code>
|
||||
For the simple POJO mapping it is enough to add the <code>org.springframework.data:spring-data-neo4j:2.1.0.RC1</code> dependency
|
||||
to your project. If you want to use the Cypher query language please add <code>org.neo4j:neo4j-cypher:1.7</code>
|
||||
</para>
|
||||
<example>
|
||||
<title>Maven dependencies for Spring Data Neo4j</title>
|
||||
<programlisting language="xml"><![CDATA[<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-neo4j</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.1.0.RC1</version>
|
||||
</dependency>
|
||||
]]></programlisting>
|
||||
</example>
|
||||
@@ -44,7 +44,7 @@
|
||||
targetCompatibility = 1.6
|
||||
|
||||
springVersion = "3.0.7.RELEASE"
|
||||
springDataNeo4jVersion = "2.0.0.RELEASE"
|
||||
springDataNeo4jVersion = "2.1.0.RC1"
|
||||
aspectjVersion = "1.6.12"
|
||||
|
||||
apply from:'https://github.com/SpringSource/spring-data-neo4j/raw/master/build/
|
||||
@@ -128,7 +128,7 @@ repositories {
|
||||
<programlisting language="xml"><![CDATA[<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-neo4j-aspects</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.1.0.RC1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
@@ -139,7 +139,7 @@ repositories {
|
||||
[<dependency>
|
||||
<groupId>org.neo4j</groupId>
|
||||
<artifactId>neo4j-cypher</artifactId>
|
||||
<version>1.6</version>
|
||||
<version>1.7</version>
|
||||
</dependency>]
|
||||
]]></programlisting>
|
||||
</example>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-neo4j-rest</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.1.0.RC1</version>
|
||||
</dependency>
|
||||
]]></programlisting>
|
||||
</example>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<programlisting language="xml" ><![CDATA[<dependency>
|
||||
<groupId>org.neo4j</groupId>
|
||||
<artifactId>neo4j</artifactId>
|
||||
<version>1.6</version>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
]]></programlisting>
|
||||
</example>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-neo4j-aspects</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.1.0.RC1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<programlisting language="xml"><![CDATA[<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-neo4j</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.1.0.RC1</version>
|
||||
</dependency>]]></programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
Reference in New Issue
Block a user