#2344 - Rename Database.getDataSource() to dataSource() with deprecation

This commit is contained in:
Rob Bygrave committed 2021-09-02 22:48:09 +12:00
1 parent 239a444d4c
commit 12c5e9ea5d
12 files changed
+33 -18

No files matched your search

@@ -141,7 +141,7 @@ public class DdlGenerator implements SpiDdlGenerator {
private Connection obtainConnection() {
try {
return server.getDataSource().getConnection();
return server.dataSource().getConnection();
} catch (SQLException e) {
throw new PersistenceException("Failed to obtain connection to run DDL", e);
}