]> git.mxchange.org Git - jaddressbook-share-core.git/commitdiff
added @Transient for serial numbers as they should not be persisted under any conditions
authorRoland Haeder <roland@mxchange.org>
Wed, 8 Jun 2016 18:05:46 +0000 (20:05 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 8 Jun 2016 18:05:46 +0000 (20:05 +0200)
src/org/mxchange/jaddressbookcore/model/addressbook/UserAddressbook.java
src/org/mxchange/jaddressbookcore/model/addressbook/entry/UserAddressbookEntry.java
src/org/mxchange/jaddressbookcore/model/addressbook/shared/AddressbookShare.java

index 6057c66d920e33967d2933d6a29c91d4030d1465..388e2ec5e12e0c8d5ba4e661afa764c595e641d3 100644 (file)
@@ -35,6 +35,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jaddressbookcore.model.addressbook.status.AddressbokStatus;
 import org.mxchange.jusercore.model.user.LoginUser;
 import org.mxchange.jusercore.model.user.User;
@@ -59,6 +60,7 @@ public class UserAddressbook implements Addressbook {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 176_573_148_678_169L;
 
        /**
index c2396f72b3cd5344578be90981b65fb0c3b0bf2a..977e3126e9e8925fe4c8eb04f1e1602b2d908a29 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.jaddressbookcore.model.addressbook.Addressbook;
 import org.mxchange.jaddressbookcore.model.addressbook.UserAddressbook;
 import org.mxchange.jcontacts.contact.Contact;
@@ -57,6 +58,7 @@ public class UserAddressbookEntry implements AddressbookEntry {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 178_581_768_581_960L;
 
        /**
index 7165bd206e3b4d8458aa9a73a6747e254b4c08cb..bc008230884ff55bc9b89259bf73e31b4d521c4e 100644 (file)
@@ -33,6 +33,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jaddressbookcore.model.addressbook.Addressbook;
 import org.mxchange.jaddressbookcore.model.addressbook.UserAddressbook;
 import org.mxchange.jusercore.model.user.LoginUser;
@@ -63,6 +64,7 @@ public class AddressbookShare implements ShareableAddressbook {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 167_889_678_177_691_690L;
 
        /**