From 328eb3a298b51261be61ce7d4ac4aaac9c91b999 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 --- .../product/BaseFinancialsProductEnterpriseBean.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java/org/mxchange/jfinancials/enterprise/product/BaseFinancialsProductEnterpriseBean.java b/src/java/org/mxchange/jfinancials/enterprise/product/BaseFinancialsProductEnterpriseBean.java index 35e0787..2dab641 100644 --- a/src/java/org/mxchange/jfinancials/enterprise/product/BaseFinancialsProductEnterpriseBean.java +++ b/src/java/org/mxchange/jfinancials/enterprise/product/BaseFinancialsProductEnterpriseBean.java @@ -17,6 +17,7 @@ package org.mxchange.jfinancials.enterprise.product; import java.text.MessageFormat; +import java.util.Date; import org.mxchange.jfinancials.enterprise.BaseFinancialsEnterpriseBean; import org.mxchange.jproduct.model.category.Category; import org.mxchange.jproduct.model.product.Product; @@ -149,7 +150,8 @@ public abstract class BaseFinancialsProductEnterpriseBean extends BaseFinancials } // 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