From 3f19f628fe35dce80493e094814bbd4fc73dae6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 19 May 2020 00:12:06 +0200 Subject: [PATCH] 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../mxchange/jcustomercore/model/customer/ContactCustomer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java b/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java index 1984446..4567a46 100644 --- a/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java +++ b/src/org/mxchange/jcustomercore/model/customer/ContactCustomer.java @@ -91,7 +91,7 @@ public class ContactCustomer implements Customer { /** * When this customer has been updated */ - @Column (name = "customer_entry_updated") + @Column (name = "customer_entry_updated", insertable = false) @Temporal (TemporalType.TIMESTAMP) private Date customerEntryUpdated; -- 2.39.5