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=328eb3a298b51261be61ce7d4ac4aaac9c91b999;p=jfinancials-ejb.git Product-only: - forgot to set productEntryUpdated Signed-off-by: Roland Häder --- 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());