|
|
@ -64,7 +64,7 @@ public class Neo4jDataAutoConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
@ConditionalOnMissingBean(PlatformTransactionManager.class)
|
|
|
|
@ConditionalOnMissingBean(PlatformTransactionManager.class)
|
|
|
|
public Neo4jTransactionManager transactionManager(SessionFactory sessionFactory, Neo4jProperties properties,
|
|
|
|
public Neo4jTransactionManager transactionManager(SessionFactory sessionFactory,
|
|
|
|
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) {
|
|
|
|
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) {
|
|
|
|
return customize(new Neo4jTransactionManager(sessionFactory), transactionManagerCustomizers.getIfAvailable());
|
|
|
|
return customize(new Neo4jTransactionManager(sessionFactory), transactionManagerCustomizers.getIfAvailable());
|
|
|
|
}
|
|
|
|
}
|
|
|
|