]> git.mxchange.org Git - jcontacts-core.git/commitdiff
let's make sure that serial numbers of objects are never persisted (being ignored...
authorRoland Häder <roland@mxchange.org>
Wed, 8 Jun 2016 10:11:17 +0000 (12:11 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 8 Jun 2016 10:11:17 +0000 (12:11 +0200)
src/org/mxchange/jcontacts/contact/UserContact.java

index c4f6ba74bb906fd3a7b4ed4756292aeed076e428..e68e985cf027e5e50fa50bdd1c4e431780d30365 100644 (file)
@@ -37,6 +37,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jcontacts.contact.gender.Gender;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jcountry.data.CountryData;
@@ -78,6 +79,7 @@ public class UserContact implements Contact {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 58_744_284_981_863L;
 
        /**