mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#996 Add findOne() and findOneOrEmpty()
This commit is contained in:
@@ -63,7 +63,7 @@ public class TestPersistenceContext extends BaseTestCase {
|
||||
Customer customer = Ebean.find(Customer.class)
|
||||
.setUseCache(false)
|
||||
.setId(id)
|
||||
.findUnique();
|
||||
.findOne();
|
||||
|
||||
System.gc();
|
||||
Order order2 = Ebean.find(Order.class, orderId);
|
||||
|
||||
Reference in New Issue
Block a user