This commit is contained in:
Timo Westkämper 2015-09-15 20:50:09 +03:00
parent 65bba7129e
commit 16a4086f66

View File

@ -1098,6 +1098,13 @@ public abstract class AbstractJPATest {
assertEquals(0L, query().from(show).where(show.acts.containsValue("C")).fetchCount());
}
@Test
public void Map_Contains() {
QShow show = QShow.show;
assertEquals(1L, query().from(show).where(show.acts.contains("a", "A")).fetchCount());
assertEquals(0L, query().from(show).where(show.acts.contains("X", "X")).fetchCount());
}
@Test
@Ignore
public void Map_Join() {