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:
@@ -312,6 +312,11 @@ public class TransactionManager implements SpiTransactionManager {
|
||||
return serverName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Connection getQueryPlanConnection() throws SQLException {
|
||||
return dataSourceSupplier.getConnection(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSource getDataSource() {
|
||||
return dataSourceSupplier.getDataSource();
|
||||
|
||||
Reference in New Issue
Block a user