From: Roland Häder Date: Mon, 18 May 2020 22:12:49 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eba0561f6e3de57182be0e73ce258533848cb2e9;p=jproduct-core.git Continued: - entry-created timestamps shall never be allowed being set in UPDATE queries - entry-updated timestamps shall never be allowed being set in INSERT queries Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jproduct/model/category/ProductCategory.java b/src/org/mxchange/jproduct/model/category/ProductCategory.java index 3518667..42ff1b4 100644 --- a/src/org/mxchange/jproduct/model/category/ProductCategory.java +++ b/src/org/mxchange/jproduct/model/category/ProductCategory.java @@ -67,7 +67,7 @@ public class ProductCategory implements Category { /** * When this entry has been created */ - @Column (name = "category_entry_updated") + @Column (name = "category_entry_updated", insertable = false) @Temporal (TemporalType.TIMESTAMP) private Date categoryEntryUpdated;