EnableExperimentalNeo4jRepositories
and also only declare a SessionFactory
and a Neo4jTransactionManager
to
get a base configuration working. See the Spring Data Neo4j documentation for more information.@Configuration @Deprecated public abstract class Neo4jConfiguration extends Object
Constructor and Description |
---|
Neo4jConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.neo4j.ogm.session.Session |
getSession()
Deprecated.
|
abstract org.neo4j.ogm.session.SessionFactory |
getSessionFactory()
Deprecated.
|
Neo4jMappingContext |
neo4jMappingContext()
Deprecated.
|
Neo4jOperations |
neo4jTemplate()
Deprecated.
|
PersistenceExceptionTranslator |
persistenceExceptionTranslator()
Deprecated.
|
PlatformTransactionManager |
transactionManager()
Deprecated.
|
PersistenceExceptionTranslationInterceptor |
translationInterceptor()
Deprecated.
|
@Bean public org.neo4j.ogm.session.Session getSession() throws Exception
Exception
@Bean public Neo4jOperations neo4jTemplate() throws Exception
Exception
@Bean public Neo4jMappingContext neo4jMappingContext() throws Exception
Exception
@Bean public PersistenceExceptionTranslator persistenceExceptionTranslator()
@Bean public PersistenceExceptionTranslationInterceptor translationInterceptor()
@Bean public PlatformTransactionManager transactionManager() throws Exception
Exception
@Bean public abstract org.neo4j.ogm.session.SessionFactory getSessionFactory()
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.