From: Roland Häder Date: Sun, 26 Apr 2020 18:30:01 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63c6b2f792f956a914714679a42613532a780099;p=jcontacts-business-core.git Continued: - updated timestamps can be null, too (ops) Signed-off-by: Roland Häder --- 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; /**