From 17c2aa18e825395d71b1e50b7d6da62ac134ca71 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 10 Oct 2015 22:29:28 +0200 Subject: [PATCH] updated jar --- .../jphone/phonenumbers/smsprovider/CellphoneProvider.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; /** -- 2.39.5