mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-24 15:16:11 +00:00
#767 - Query.setDisableLazyLoading(true) ... not disabling lazy loading on @OneToMany
This commit is contained in:
1 parent
4be703ff6e
commit
3b7f5496a8
2 files changed
+5
-1
No files matched your search
@@ -94,6 +94,9 @@ public class TestQueryJoinToAssocOne extends BaseTestCase {
|
||||
// normally invokes lazy loading
|
||||
orderDetail.getShipQty();
|
||||
|
||||
// normally invokes lazy loading
|
||||
order.getShipments().size();
|
||||
|
||||
List<String> loggedSql = LoggedSqlCollector.stop();
|
||||
assertThat(loggedSql).hasSize(2);
|
||||
|
||||
|
||||
Reference in new issue
Block a user