mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 23:10:55 +00:00
#788 - Deprecate findRowCount() ... add findCount(). Effectively renaming findRowCount() to findCount()
This commit is contained in:
1 parent
7c83010df1
commit
dc7c854432
37 files changed
+175
-81
No files matched your search
@@ -23,12 +23,12 @@ public class TestNestedBeginRequiredWithFailure extends BaseTestCase {
|
||||
Transaction txn = server.beginTransaction(TxScope.required());
|
||||
try {
|
||||
|
||||
server.find(Country.class).findRowCount();
|
||||
server.find(Country.class).findCount();
|
||||
|
||||
try {
|
||||
someInnerMethodWithFailure();
|
||||
|
||||
server.find(Product.class).findRowCount();
|
||||
server.find(Product.class).findCount();
|
||||
txn.commit();
|
||||
|
||||
} catch (RuntimeException e) {
|
||||
@@ -50,7 +50,7 @@ public class TestNestedBeginRequiredWithFailure extends BaseTestCase {
|
||||
Transaction txn = server.beginTransaction(TxScope.required());
|
||||
try {
|
||||
|
||||
server.find(Customer.class).findRowCount();
|
||||
server.find(Customer.class).findCount();
|
||||
|
||||
EBasic basic = new EBasic();
|
||||
basic.setName("ignore");
|
||||
|
||||
Reference in new issue
Block a user