mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-04 21:01:21 +08:00
Add test
This commit is contained in:
parent
96b8d777c0
commit
68a3de9307
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user