Permalink
Browse files

neo4j: removing explicit transaction manager configuration, relying o…

…n SpringConfigurer's defaults
  • Loading branch information...
1 parent 3eea6a4 commit 14cb744f1f3c80d0619039d7ebd0e13c923453fb @sarmbruster sarmbruster committed Jan 14, 2013
@@ -114,20 +114,6 @@ class Neo4jSpringConfigurer extends SpringConfigurer {
datastore = ref("neo4jDatastore")
}
- // RestGraphDatabase doesn't play nicely with SpringTransactionManager
- if (AbstractGraphDatabase.class.isAssignableFrom(neo4jGraphDatabaseClass)) {
-
- neo4jTransactionManagerService(SpringTransactionManager, graphDatabaseService)
-
- neo4jUserTransactionService(UserTransactionImpl, graphDatabaseService)
-
-// neo4jTransactionManager(JtaTransactionManager) {
- transactionManager(JtaTransactionManager) {
- transactionManager = neo4jTransactionManagerService
- userTransaction = neo4jUserTransactionService
- }
- }
-
// if (manager?.hasGrailsPlugin("controllers")) {
// neo4jOpenSessionInViewInterceptor(Neo4jOpenSessionInViewInterceptor) {
// datastore = ref("neo4jDatastore")

0 comments on commit 14cb744

Please sign in to comment.