From 658d2f794da976bc0b6d60514014fa651403c21d Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 6 Mar 2016 18:37:19 +0100 Subject: [PATCH] these are not optional as they are not nullable --- src/org/mxchange/jcontacts/contact/UserContact.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/org/mxchange/jcontacts/contact/UserContact.java b/src/org/mxchange/jcontacts/contact/UserContact.java index 5d24b7b..2a1c568 100644 --- a/src/org/mxchange/jcontacts/contact/UserContact.java +++ b/src/org/mxchange/jcontacts/contact/UserContact.java @@ -92,6 +92,7 @@ public class UserContact implements Contact, Comparable { /** * City */ + @Basic(optional = false) @Column (name = "contact_city", nullable = false, length = 100) private String contactCity; @@ -120,6 +121,7 @@ public class UserContact implements Contact, Comparable { /** * Email address */ + @Basic(optional = false) @Column (name = "contact_email_address", length = 100, nullable = false) private String contactEmailAddress; @@ -155,6 +157,7 @@ public class UserContact implements Contact, Comparable { /** * House number */ + @Basic(optional = false) @Column (name = "contact_house_number", length = 5, nullable = false) private Short contactHouseNumber; @@ -169,6 +172,7 @@ public class UserContact implements Contact, Comparable { /** * Flag whether this contact is user's own data */ + @Basic(optional = false) @Column (name = "contact_own_contact", nullable = false) private Boolean contactOwnContact; @@ -182,6 +186,7 @@ public class UserContact implements Contact, Comparable { /** * Street */ + @Basic(optional = false) @Column (name = "contact_street", nullable = false) private String contactStreet; @@ -201,6 +206,7 @@ public class UserContact implements Contact, Comparable { /** * ZIP code */ + @Basic(optional = false) @Column (name = "contact_zip_code", nullable = false, length = 6) private Integer contactZipCode; -- 2.39.5