mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1758 - Error when using ebean 11.41.1 and ebean-spring-txn 11.10.4
Fix method visibility restoring those methods as public
This commit is contained in:
@@ -40,4 +40,19 @@ public interface SpiTransactionManager {
|
||||
*/
|
||||
void externalRemoveTransaction();
|
||||
|
||||
/**
|
||||
* Notify of a transaction commit.
|
||||
*/
|
||||
void notifyOfCommit(SpiTransaction transaction);
|
||||
|
||||
/**
|
||||
* Notify of a transaction rollback.
|
||||
*/
|
||||
void notifyOfRollback(SpiTransaction transaction, Throwable cause);
|
||||
|
||||
/**
|
||||
* Notify of a query only transaction commit.
|
||||
*/
|
||||
void notifyOfQueryOnly(SpiTransaction transaction);
|
||||
|
||||
}
|
||||
|
||||
@@ -360,7 +360,8 @@ public class TransactionManager implements SpiTransactionManager {
|
||||
/**
|
||||
* Process a local rolled back transaction.
|
||||
*/
|
||||
void notifyOfRollback(SpiTransaction transaction, Throwable cause) {
|
||||
@Override
|
||||
public void notifyOfRollback(SpiTransaction transaction, Throwable cause) {
|
||||
|
||||
try {
|
||||
if (txnLogger.isDebug()) {
|
||||
@@ -379,8 +380,8 @@ public class TransactionManager implements SpiTransactionManager {
|
||||
/**
|
||||
* Query only transaction in read committed isolation.
|
||||
*/
|
||||
void notifyOfQueryOnly(SpiTransaction transaction) {
|
||||
|
||||
@Override
|
||||
public void notifyOfQueryOnly(SpiTransaction transaction) {
|
||||
// Nothing that interesting here
|
||||
if (txnLogger.isTrace()) {
|
||||
txnLogger.trace(transaction.getLogPrefix() + "Commit - query only");
|
||||
@@ -414,8 +415,8 @@ public class TransactionManager implements SpiTransactionManager {
|
||||
/**
|
||||
* Process a local committed transaction.
|
||||
*/
|
||||
void notifyOfCommit(SpiTransaction transaction) {
|
||||
|
||||
@Override
|
||||
public void notifyOfCommit(SpiTransaction transaction) {
|
||||
try {
|
||||
if (txnLogger.isDebug()) {
|
||||
txnLogger.debug(transaction.getLogPrefix() + "Commit");
|
||||
|
||||
Reference in New Issue
Block a user