From: Roland Häder Date: Fri, 24 Apr 2020 21:15:16 +0000 (+0200) Subject: Product-only: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da85e5eb0018f38611cd49232fe24010237e6cdd;p=pizzaservice-ejb.git Product-only: - forgot to set productEntryUpdated Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/enterprise/product/BasePizzaProductEnterpriseBean.java b/src/java/org/mxchange/pizzaapplication/enterprise/product/BasePizzaProductEnterpriseBean.java index def6fa5..172e500 100644 --- a/src/java/org/mxchange/pizzaapplication/enterprise/product/BasePizzaProductEnterpriseBean.java +++ b/src/java/org/mxchange/pizzaapplication/enterprise/product/BasePizzaProductEnterpriseBean.java @@ -143,7 +143,8 @@ public abstract class BasePizzaProductEnterpriseBean extends BasePizzaEnterprise } // Set updated timestamp - // @TODO detachedProduct.setProductUpdated(new Date()); + detachedProduct.setProductEntryUpdated(new Date()); + // Get product from it and find it final Product foundProduct = this.getEntityManager().find(detachedProduct.getClass(), detachedProduct.getProductId());