mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +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
@@ -277,7 +277,7 @@ public class QCustomerTest {
|
||||
cust.setStatus(Customer.Status.GOOD);
|
||||
cust.save();
|
||||
|
||||
DataSource dataSource = DB.getDefault().getDataSource();
|
||||
DataSource dataSource = DB.getDefault().dataSource();
|
||||
|
||||
try (Connection connection = dataSource.getConnection()) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user