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

index 198444616a5957d1aed12ccfb37821a902194da3..4567a469228abe872d28c2c6135e1c2d3b9138c8 100644 (file)
@@ -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;