]> git.mxchange.org Git - jphone-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:36 +0000 (12:11 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 8 Jun 2016 10:11:36 +0000 (12:11 +0200)
src/org/mxchange/jphone/phonenumbers/cellphone/CellphoneNumber.java
src/org/mxchange/jphone/phonenumbers/fax/FaxNumber.java
src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java
src/org/mxchange/jphone/phonenumbers/mobileprovider/CellphoneProvider.java

index 55a1bb61403fc7fdd629b88da2c3c2d6ea39c0d1..8868c242121a92b5a863bc36a93a2a6126924447 100644 (file)
@@ -32,6 +32,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jphone.phonenumbers.mobileprovider.CellphoneProvider;
 import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
@@ -52,6 +53,7 @@ public class CellphoneNumber implements DialableCellphoneNumber {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 13_859_879_482_106L;
 
        /**
index fb9a2cb0e05f79eaf1223a73eb82c72ad2a35fef..eb639777c993cbb2f5c8dc004bd149a0edaec832 100644 (file)
@@ -32,6 +32,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jcountry.data.CountryData;
 
@@ -51,6 +52,7 @@ public class FaxNumber implements DialableFaxNumber {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 17_687_687_191_375L;
 
        /**
index 63c830e4337a3193412c7e2082b2c91b2dd263b8..6d6dfdea884f546133ea2337e446870c6362f871 100644 (file)
@@ -32,6 +32,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jcountry.data.CountryData;
 
@@ -51,6 +52,7 @@ public class LandLineNumber implements DialableLandLineNumber {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 18_563_748_781_956L;
 
        /**
index 58175e01d8f01a860b7ac3c9cdc6657e49a1b310..7f8b63d4c99be2084a77b24632af15650a70ee95 100644 (file)
@@ -32,6 +32,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jcountry.data.CountryData;
 
@@ -51,6 +52,7 @@ public class CellphoneProvider implements MobileProvider {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 185_878_567_810_590L;
 
        /**