diff --git a/pom.xml b/pom.xml
index 5c8ff9732..1dae4782e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,14 +39,14 @@
io.ebean
ebean
- 12.11.1
+ 12.11.4-SNAPSHOT
provided
io.ebean
ebean-ddl-generator
- 12.11.1
+ 12.11.4A
test
diff --git a/src/main/java/io/ebean/spring/txn/SpringJdbcTransactionManager.java b/src/main/java/io/ebean/spring/txn/SpringJdbcTransactionManager.java
index 1d9bc9030..38a88a707 100644
--- a/src/main/java/io/ebean/spring/txn/SpringJdbcTransactionManager.java
+++ b/src/main/java/io/ebean/spring/txn/SpringJdbcTransactionManager.java
@@ -52,7 +52,7 @@ public class SpringJdbcTransactionManager implements ExternalTransactionManager
// RB: At this stage not exposing TransactionManager to
// the public API and hence the Object type and casting here
this.transactionManager = (TransactionManager) txnMgr;
- this.dataSource = transactionManager.getDataSource();
+ this.dataSource = transactionManager.dataSource();
}
/**
@@ -67,7 +67,7 @@ public class SpringJdbcTransactionManager implements ExternalTransactionManager
ConnectionHolder holder = (ConnectionHolder) TransactionSynchronizationManager.getResource(dataSource);
if (holder == null || !holder.isSynchronizedWithTransaction()) {
// no current Spring transaction
- SpiTransaction currentEbeanTransaction = transactionManager.getInScope();
+ SpiTransaction currentEbeanTransaction = transactionManager.inScope();
if (currentEbeanTransaction == null || !currentEbeanTransaction.isActive()) {
return null;
} else {