This commit is contained in:
Timo Westkämper 2015-04-01 18:25:34 +03:00
parent 96b8d777c0
commit 68a3de9307

View File

@ -108,7 +108,14 @@ public class SubqueriesTest extends AbstractJDOTest {
}
}
@Test
public void In_List() {
query().from(product)
.where(product.name.in(
query().from(other).where(other.description.eq("AAA")).select(other.name)),
product.description.eq("BBB"))
.select(product).fetch();
}
@BeforeClass
public static void doPersist() {