mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2347 - Rename Database.getPlatform() to platform() with deprecation
This commit is contained in:
1 parent
7fba9adc43
commit
fe67abce83
35 files changed
+76
-53
No files matched your search
@@ -30,7 +30,7 @@ public class ClusterTest {
|
||||
public void testBothNear() {
|
||||
// ensure the default server exists first
|
||||
final Database db = DB.getDefault();
|
||||
Database other = createOther(db.getPluginApi().dataSource());
|
||||
Database other = createOther(db.pluginApi().dataSource());
|
||||
|
||||
new QPerson()
|
||||
.name.eq("Someone")
|
||||
@@ -62,7 +62,7 @@ public class ClusterTest {
|
||||
public void test() throws InterruptedException {
|
||||
// ensure the default server exists first
|
||||
final Database db = DB.getDefault();
|
||||
Database other = createOther(db.getPluginApi().dataSource());
|
||||
Database other = createOther(db.pluginApi().dataSource());
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
Person foo = new Person("name " + i);
|
||||
|
||||
Reference in new issue
Block a user