From 63c6b2f792f956a914714679a42613532a780099 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 26 Apr 2020 20:30:01 +0200 Subject: [PATCH] Continued: - updated timestamps can be null, too (ops) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../jcontactsbusiness/model/basicdata/BusinessBasicData.java | 2 +- .../jcontactsbusiness/model/department/BusinessDepartment.java | 2 +- .../model/headquarter/BusinessHeadquarter.java | 2 +- src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java b/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java index bad14b2..d7a4c53 100644 --- a/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java +++ b/src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java @@ -118,7 +118,7 @@ public class BusinessBasicData implements BasicData { * Timestamp when this entry has been updated */ @Temporal (TemporalType.TIMESTAMP) - @Column (name = "company_entry_updated", nullable = false, updatable = false) + @Column (name = "company_entry_updated", insertable = false) private Date companyEntryUpdated; /** diff --git a/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java b/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java index 7c90924..6428a13 100644 --- a/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java +++ b/src/org/mxchange/jcontactsbusiness/model/department/BusinessDepartment.java @@ -95,7 +95,7 @@ public class BusinessDepartment implements Department { * Timestamp when this entry has been updated */ @Temporal (TemporalType.TIMESTAMP) - @Column (name = "department_entry_updated", insertable = false, nullable = false) + @Column (name = "department_entry_updated", insertable = false) private Date departmentEntryUpdated; /** diff --git a/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java b/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java index f26e0af..3628640 100644 --- a/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java +++ b/src/org/mxchange/jcontactsbusiness/model/headquarter/BusinessHeadquarter.java @@ -121,7 +121,7 @@ public class BusinessHeadquarter implements Headquarter { */ @Basic (optional = false) @Temporal (TemporalType.TIMESTAMP) - @Column (name = "headquarter_entry_updated", insertable = false, nullable = false) + @Column (name = "headquarter_entry_updated", insertable = false) private Date headquarterEntryUpdated; /** diff --git a/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java b/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java index f35910f..99a9ceb 100644 --- a/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java +++ b/src/org/mxchange/jcontactsbusiness/model/logo/BusinessLogo.java @@ -63,7 +63,7 @@ public class BusinessLogo implements Logo { * Timestamp when this entry has been created */ @Temporal (TemporalType.TIMESTAMP) - @Column (name = "logo_entry_updated", insertable = false, nullable = false) + @Column (name = "logo_entry_updated", insertable = false) private Date logoEntryUpdated; /** -- 2.39.5