config.bc.jpa.domain.Rating.orm.xml Maven / Gradle / Ivy
SELECT ratingSummary
FROM org.broadleafcommerce.core.rating.domain.RatingSummary ratingSummary
WHERE ratingSummary.ratingTypeStr = :ratingType
AND ratingSummary.itemId IN (:itemIds)
SELECT ratingSummary
FROM org.broadleafcommerce.core.rating.domain.RatingSummary ratingSummary
WHERE ratingSummary.ratingTypeStr = :ratingType
AND ratingSummary.itemId = :itemId
SELECT ratingDetail
FROM org.broadleafcommerce.core.rating.domain.RatingDetail ratingDetail
WHERE ratingDetail.customer.id = :customerId
AND ratingDetail.ratingSummary.id = :ratingSummaryId
SELECT reviewDetail
FROM org.broadleafcommerce.core.rating.domain.ReviewDetail reviewDetail
WHERE reviewDetail.customer.id = :customerId
AND reviewDetail.ratingSummary.id = :ratingSummaryId
SELECT reviewDetail
FROM org.broadleafcommerce.core.rating.domain.ReviewDetail reviewDetail
WHERE reviewDetail.customer.id = :customerId
AND reviewDetail.ratingSummary.itemId = :itemId
© 2015 - 2024 Weber Informatics LLC | Privacy Policy