mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#535 - Bean lazy loading can execute an extra query when one of the lazy loaded beans has been deleted
This commit is contained in:
@@ -77,7 +77,7 @@ public class TestBatchLazyWithDeleted extends BaseTestCase {
|
||||
list.get(2).getMaster().getName();
|
||||
Assert.assertTrue(false);
|
||||
} catch (EntityNotFoundException e) {
|
||||
// this bean was deleted and lazy loading failed
|
||||
// this bean was deleted and lazy loading failed
|
||||
Assert.assertTrue(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user