}
}
@Bean
public PlatformTransactionManager neo4jTransactionManager(GraphDatabaseService graphDatabaseService) {
JtaTransactionManager jtaTm = new JtaTransactionManagerFactoryBean( graphDatabaseService ).getObject();
if (isUsingCrossStorePersistence()) {
JpaTransactionManager jpaTm = new JpaTransactionManager(getEntityManagerFactory());
return new ChainedTransactionManager(jpaTm, jtaTm);
}