]> git.mxchange.org Git - jphone-core.git/commitdiff
updated jar
authorRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 20:29:28 +0000 (22:29 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 20:29:28 +0000 (22:29 +0200)
src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java

index 30891f62f07c1f60fe88a5416ad29527a9a4b94b..f879aeeb92b3b1276b7b21bbbd7a5d4c832e4e67 100644 (file)
@@ -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;
 
        /**