Database Reference
In-Depth Information
http://www.springframework.org/schema/data/neo4j
http://www.springframework.org/schema/data/neo4j/
spring-neo4j-2.2.xsd
http://www.springframework.org/schema/data/repository
http://www.springframework.org/schema/data/repository/
spring-repository-1.7.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/
spring-tx-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/
spring-context-3.1.xsd
">
</beans>
2. The preceding XML configuration defines the schema for Spring context, Neo4j,
and Spring transactions. Next, between the <beans></beans> tags define the
following:
<!-- This is declared to activate annotations in
beans already registered in the application context
(no matter if they were defined with XML or by
package scanning). This instructs the framework that
the classes are using annotations and Spring should
automatically wire values into properties, methods,
and constructors.
-->
<context:annotation-config/>
<!-- enable the configuration of transactional
behavior based on annotations -->
<tx:annotation-driven mode="proxy"/>
<!-- Neo4j Specific configuration, where first
parameter is the directory which defines the location
of the database and second parameter is the
directory/ package which will contain the domain
Search WWH ::




Custom Search