mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1114 - Deprecate findUnique() - please migrate to findOne() - update tests
This commit is contained in:
@@ -48,7 +48,7 @@ public class TestRefreshWithMany extends BaseTestCase {
|
||||
Customer customer1 = Ebean.find(Customer.class)
|
||||
.fetch("contacts")
|
||||
.setId(customer.getId())
|
||||
.findUnique();
|
||||
.findOne();
|
||||
|
||||
|
||||
int rcb1 = Ebean.createSqlUpdate("update o_customer set name = :name where id = :id")
|
||||
|
||||
Reference in New Issue
Block a user