#1918 - Ebean 12.1.9 breaks Guice in Stage.PRODUCTION mode for multi tenant apps

This commit is contained in:
rob bygrave
2020-01-28 12:07:07 +13:00
parent df63eeaa8c
commit acff330b37
5 changed files with 20 additions and 16 deletions
@@ -4,6 +4,8 @@ import io.ebean.TxScope;
import io.ebeaninternal.server.transaction.TransactionScopeManager;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;
/**
* Service provider interface for the transaction manager.
@@ -55,4 +57,9 @@ public interface SpiTransactionManager {
*/
void notifyOfQueryOnly(SpiTransaction transaction);
/**
* Return a connection used for query plan collection.
*/
Connection getQueryPlanConnection() throws SQLException;
}