#2085 - Refactor promote getDataSource() and getReadOnlyDataSource() to Database from plugin.SpiServer interface

This commit is contained in:
rob bygrave committed 2020-10-20 12:08:21 +13:00
1 parent 4a594b32ef
commit 0abcc9e06e
11 files changed
+30 -18

No files matched your search

@@ -222,7 +222,7 @@ public class QCustomerTest {
cust.setStatus(Customer.Status.GOOD);
cust.save();
DataSource dataSource = DB.getDefault().getPluginApi().getDataSource();
DataSource dataSource = DB.getDefault().getDataSource();
try (Connection connection = dataSource.getConnection()) {