config.bc.jpa.domain.Solr.orm.xml Maven / Gradle / Ivy
SELECT categoryProduct.product.id FROM org.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl categoryProduct
WHERE categoryProduct.category.id IN :categoryIds
ORDER BY COALESCE (categoryProduct.displayOrder,999999)
SELECT NEW org.broadleafcommerce.core.search.dao.ProductsByCategoryWithOrder(categoryProduct.product.id, categoryProduct.displayOrder)
FROM org.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl categoryProduct
WHERE categoryProduct.category.id IN :categoryIds
ORDER BY COALESCE (categoryProduct.displayOrder,999999)
SELECT NEW org.broadleafcommerce.core.search.dao.ParentCategoryByProduct(categoryProduct.category.id, categoryProduct.product.id)
FROM org.broadleafcommerce.core.catalog.domain.CategoryProductXrefImpl categoryProduct
WHERE categoryProduct.product.id IN :productIds
ORDER BY categoryProduct.product.id
SELECT NEW org.broadleafcommerce.core.search.dao.ParentCategoryByCategory(categoryXref.category.id, categoryXref.subCategory.defaultParentCategory.id, categoryXref.subCategory.id)
FROM org.broadleafcommerce.core.catalog.domain.CategoryXrefImpl categoryXref
WHERE categoryXref.subCategory.id IN :categoryIds
ORDER BY categoryXref.subCategory.id
© 2015 - 2024 Weber Informatics LLC | Privacy Policy