repackaging, removed core module
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
The indexes can be queried by using a repository (see
|
||||
<xref linkend="reference:programming-model:repositories" />).
|
||||
Typically, the repository is an instance of
|
||||
<code>org.springframework.data.graph.neo4j.repository.DirectGraphRepositoryFactory</code>.
|
||||
<code>org.springframework.data.neo4j.repository.DirectGraphRepositoryFactory</code>.
|
||||
The methods <code>findByPropertyValue()</code> and <code>findAllByPropertyValue()</code> work on
|
||||
the exact indexes and return the first or all matches. To do range queries, use
|
||||
<code>findAllByRange()</code> (please note that currently both values are inclusive).
|
||||
|
||||
@@ -252,7 +252,7 @@ public class PersonRepositoryImpl implements PersonRepositoryExtension {
|
||||
|
||||
// configure the repositories, preferably via the datagraph:repositories namespace
|
||||
// (graphDatabaseContext reference is optional)
|
||||
<datagraph:repositories base-package="org.springframework.data.graph.neo4j"
|
||||
<datagraph:repositories base-package="org.springframework.data.neo4j"
|
||||
graph-database-context-ref="graphDatabaseContext"/>
|
||||
|
||||
// have it injected
|
||||
|
||||
@@ -46,12 +46,12 @@
|
||||
</para>
|
||||
<example>
|
||||
<title>Neo4j Spring integration</title>
|
||||
<programlisting language="xml"><![CDATA[<context:annotation-config />
|
||||
<programlisting language="xml"><![CDATA[<![CDATA[<context:annotation-config />
|
||||
<context:spring-configured/>
|
||||
|
||||
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
|
||||
<property name="transactionManager">
|
||||
<bean id="jotm" class="org.springframework.data.graph.neo4j.transaction.JotmFactoryBean"/>
|
||||
<bean id="jotm" class="org.springframework.data.neo4j.transaction.JotmFactoryBean"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</bean>
|
||||
|
||||
<tx:annotation-driven mode="aspectj" transaction-manager="transactionManager"/>
|
||||
]]></programlisting>
|
||||
]]>]]></programlisting>
|
||||
</example>
|
||||
<para>
|
||||
One can also configure a stock XA transaction manager (e.g. Atomikos, JOTM, App-Server-TM) to be
|
||||
@@ -76,7 +76,7 @@
|
||||
</para>
|
||||
<example>
|
||||
<title>ChainedTransactionManager example</title>
|
||||
<programlisting language="xml"><![CDATA[<bean id="jpaTransactionManager"
|
||||
<programlisting language="xml"><![CDATA[<![CDATA[<bean id="jpaTransactionManager"
|
||||
class="org.springframework.orm.jpa.JpaTransactionManager">
|
||||
<property name="entityManagerFactory" ref="entityManagerFactory"/>
|
||||
</bean>
|
||||
@@ -94,7 +94,7 @@
|
||||
</property>
|
||||
</bean>
|
||||
<bean id="transactionManager"
|
||||
class="org.springframework.data.graph.neo4j.transaction.ChainedTransactionManager">
|
||||
class="org.springframework.data.neo4j.transaction.ChainedTransactionManager">
|
||||
<constructor-arg>
|
||||
<list>
|
||||
<ref bean="jpaTransactionManager"/>
|
||||
@@ -104,7 +104,7 @@
|
||||
</bean>
|
||||
|
||||
<tx:annotation-driven mode="aspectj" transaction-manager="transactionManager"/>
|
||||
]]></programlisting>
|
||||
]]>]]></programlisting>
|
||||
</example>
|
||||
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user