From da85e5eb0018f38611cd49232fe24010237e6cdd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 24 Apr 2020 23:15:16 +0200 Subject: [PATCH] Product-only: - forgot to set productEntryUpdated MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../enterprise/product/BasePizzaProductEnterpriseBean.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.39.5