]> git.mxchange.org Git - jproduct-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 18 May 2020 22:12:49 +0000 (00:12 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 18 May 2020 22:12:49 +0000 (00:12 +0200)
- 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 <roland@mxchange.org>
src/org/mxchange/jproduct/model/category/ProductCategory.java

index 35186674e41e281175f502f0d8bb742f34148420..42ff1b44d8435ce027c23e972bede1eedb0cc345 100644 (file)
@@ -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;