All Downloads are FREE. Search and download functionalities are using the official Maven repository.

config.bc.jpa.domain.Solr.orm.xml Maven / Gradle / Ivy

There is a newer version: 3.1.15-GA
Show newest version




    
        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