From: Roland Häder Date: Mon, 18 May 2020 22:12:06 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f19f628fe35dce80493e094814bbd4fc73dae6b;p=jcustomer-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/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;