From: Roland Haeder Date: Sat, 10 Oct 2015 20:29:28 +0000 (+0200) Subject: updated jar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=17c2aa18e825395d71b1e50b7d6da62ac134ca71;p=jphone-core.git updated jar --- diff --git a/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java b/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java index 30891f6..f879aee 100644 --- a/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java +++ b/src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java @@ -19,6 +19,7 @@ package org.mxchange.jphone.phonenumbers.smsprovider; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @@ -40,8 +41,8 @@ public class CellphoneProvider implements SmsProvider { * Id number */ @Id - @GeneratedValue - @Column(name = "provider_id", length = 20, nullable = false, updatable = false) + @GeneratedValue (strategy = GenerationType.IDENTITY) + @Column (name = "provider_id", length = 20, nullable = false, updatable = false) private Long providerId; /**