]> git.mxchange.org Git - jproduct-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 25 Apr 2020 18:17:56 +0000 (20:17 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 25 Apr 2020 18:17:56 +0000 (20:17 +0200)
- removed AllAvailableCategories JPQL

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jproduct/model/product/GenericProduct.java

index 6dd9a0096e850a9f94128a8b926878fd4d8f7ade..ce9e83d3d3369aea445cfea4d0a009719ddcdb6a 100644 (file)
@@ -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")