Search in sources :

Example 11 with Product

use of com.querydsl.jdo.test.domain.Product in project querydsl by querydsl.

the class CollectionTest method contains_value.

@Test
public void contains_value() {
    Product product = query().from(QProduct.product).select(QProduct.product).fetch().get(0);
    query(store, store.productsByName.containsValue(product));
}
Also used : QProduct(com.querydsl.jdo.test.domain.QProduct) Product(com.querydsl.jdo.test.domain.Product) Test(org.junit.Test)

Aggregations

Product (com.querydsl.jdo.test.domain.Product)11 QProduct (com.querydsl.jdo.test.domain.QProduct)9 BeforeClass (org.junit.BeforeClass)8 Test (org.junit.Test)3 SProduct (com.querydsl.jdo.test.domain.sql.SProduct)2 QStore (com.querydsl.jdo.test.domain.QStore)1 Store (com.querydsl.jdo.test.domain.Store)1