mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1918 - Ebean 12.1.9 breaks Guice in Stage.PRODUCTION mode for multi tenant apps
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user