Fix for #172 - Regression: @Where predicates not applied in eager fetch (but are on lazy load)

This commit is contained in:
rbygrave
2014-07-18 23:35:14 +12:00
parent 6403a83e0e
commit 2dca1bdf5b
4 changed files with 68 additions and 2 deletions
@@ -103,7 +103,7 @@ public class TestSecondaryQueries extends BaseTestCase {
// from o_order_detail t0
// where (t0.order_id) in (?,?,?,?,?) ; --bind(1,4,1,1,1)
Assert.assertTrue(ordSecondarySql.contains(" from o_order_detail t0 where (t0.order_id) in (?"));
Assert.assertTrue(ordSecondarySql.contains(" from o_order_detail t0 where t0.id > 0 and (t0.order_id) in (?"));
}
}