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

This commit is contained in:
rob bygrave committed 2020-01-28 12:07:07 +13:00
1 parent df63eeaa8c
commit acff330b37
5 files changed
+20 -16

No files matched your search

@@ -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();