mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Remove deprecated ExtendedServer query methods - use query.usingTransaction() instead
Removing all the deprecated query methods from ExtendedServer. Migrate to passing the explicit transaction to the query using query.usingTransaction() instead.
This commit is contained in:
@@ -44,7 +44,7 @@ public class ExtendedServerTest extends BaseTestCase {
|
||||
|
||||
// obtain extended API ... such that we can execute the
|
||||
// query using an explicit transaction
|
||||
List<Customer> customers = server.extended().findList(query, transaction);
|
||||
List<Customer> customers = query.usingTransaction(transaction).findList();
|
||||
|
||||
assertThat(customers).isNotEmpty();
|
||||
transaction.commit();
|
||||
|
||||
Reference in New Issue
Block a user