]> git.mxchange.org Git - jcountry-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:07 +0000 (12:11 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 8 Jun 2016 10:11:07 +0000 (12:11 +0200)
src/org/mxchange/jcountry/data/CountryData.java

index 0c40295b63046c793b894bfe8c9f2c76173895d1..216b9c33ba933d1fdb5c53cf5cd1dd245de01523 100644 (file)
@@ -29,6 +29,7 @@ import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 
 /**
  * A POJO for country data
@@ -49,6 +50,7 @@ public class CountryData implements Country {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 14_853_982_718_509L;
 
        /**