mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2344 - Rename Database.getDataSource() to dataSource() with deprecation
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user