From: Roland Haeder Date: Thu, 7 Apr 2016 09:27:36 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=09806ab3bf6be966af98917bff93ac6fb9558b6b;p=jphone-core.git Continued a bit: - size only applies for strings, no need here (cleanup) - updated jar(s) --- diff --git a/lib/jcountry-core.jar b/lib/jcountry-core.jar index 49be2e4..01a8041 100644 Binary files a/lib/jcountry-core.jar and b/lib/jcountry-core.jar differ diff --git a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java index 987ea0a..55a8c0b 100644 --- a/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java @@ -68,14 +68,14 @@ public class CellphoneNumber implements DialableCellphoneNumber { */ @Id @GeneratedValue (strategy = GenerationType.IDENTITY) - @Column (name = "cellphone_id", length = 20, nullable = false, updatable = false) + @Column (name = "cellphone_id", nullable = false, updatable = false) private Long phoneId; /** * Number without prefix to dial */ @Basic (optional = false) - @Column (name = "cellphone_number", length = 20, nullable = false) + @Column (name = "cellphone_number", nullable = false) private Long phoneNumber; /** diff --git a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java index c49c11f..9042353 100644 --- a/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java @@ -74,14 +74,14 @@ public class FaxNumber implements DialableFaxNumber { */ @Id @GeneratedValue (strategy = GenerationType.IDENTITY) - @Column (name = "fax_id", length = 20, nullable = false, updatable = false) + @Column (name = "fax_id", nullable = false, updatable = false) private Long phoneId; /** * Fax number without prefix */ @Basic (optional = false) - @Column (name = "fax_number", length = 20, nullable = false) + @Column (name = "fax_number", nullable = false) private Long phoneNumber; /** diff --git a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java index 2f192bb..6a18fc0 100644 --- a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java @@ -81,7 +81,7 @@ public class LandLineNumber implements DialableLandLineNumber { * Phone number with out dial prefix */ @Basic (optional = false) - @Column (name = "phone_number", length = 20, nullable = false) + @Column (name = "phone_number", nullable = false) private Long phoneNumber; /** diff --git a/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java b/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java index a35e266..1950692 100644 --- a/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java +++ b/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java @@ -79,7 +79,7 @@ public class CellphoneProvider implements SmsProvider { */ @Id @GeneratedValue (strategy = GenerationType.IDENTITY) - @Column (name = "provider_id", length = 20, nullable = false, updatable = false) + @Column (name = "provider_id", nullable = false, updatable = false) private Long providerId; /**