]> git.mxchange.org Git - jcontacts-core.git/commitdiff
Maybe no NULL here?
authorRoland Haeder <roland@mxchange.org>
Tue, 20 Oct 2015 13:00:26 +0000 (15:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 20 Oct 2015 13:00:26 +0000 (15:00 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcontacts/contact/UserContact.java

index ae03a05929bf0aa3acf3bfb186c61e926abc40e8..012db4f6f546c3e73425ba32a88698bd69ac93be 100644 (file)
@@ -107,7 +107,7 @@ public class UserContact implements Contact, Comparable<Contact> {
         */
        @Id
        @GeneratedValue (strategy = GenerationType.IDENTITY)
-       @Column (name = "contact_id", length = 20, updatable = false)
+       @Column (name = "contact_id", length = 20, nullable = false, updatable = false)
        private Long contactId;
 
        /**