#1186 - ENH: Support using TableValues / Array for select prop in (?) queries

Use Postgres Array ANY and ALL without select unnest
This commit is contained in:
rob bygrave
2017-10-31 22:09:35 +13:00
parent 5bccdccbd6
commit 1e1c518641
34 changed files with 157 additions and 117 deletions
@@ -79,7 +79,7 @@ public class TestBatchLazyWithCacheHits extends BaseTestCase {
// batch lazy loading into cache
assertThat(sql).hasSize(2);
assertThat(sql.get(0)).contains("from uuone t0 where t0.name like ");
assertThat(sql.get(1)).contains("from uuone t0 where t0.id in ");
platformAssertIn(sql.get(1), "from uuone t0 where t0.id");
statistics = beanCache.getStatistics(true);
assertThat(statistics.getSize()).isGreaterThan(3);