From: Roland Häder Date: Sat, 25 Apr 2020 18:17:56 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=42185431de276d6849ff4331b7926f12a6b2c07d;p=jproduct-core.git Continued: - removed AllAvailableCategories JPQL Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jproduct/model/product/GenericProduct.java b/src/org/mxchange/jproduct/model/product/GenericProduct.java index 6dd9a00..ce9e83d 100644 --- a/src/org/mxchange/jproduct/model/product/GenericProduct.java +++ b/src/org/mxchange/jproduct/model/product/GenericProduct.java @@ -67,8 +67,7 @@ import org.mxchange.jproduct.model.product.agegroup.AgeGroup; ) @NamedQueries ( { - @NamedQuery (name = "AllProducts", query = "SELECT p FROM generic_products AS p ORDER BY p.productId ASC"), - @NamedQuery (name = "AllAvailableProducts", query = "SELECT p FROM generic_products AS p WHERE p.productAvailability=TRUE ORDER BY p.productId ASC") + @NamedQuery (name = "AllProducts", query = "SELECT p FROM generic_products AS p ORDER BY p.productId ASC") } ) @SuppressWarnings ("PersistenceUnitPresent")