]> git.mxchange.org Git - juser-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:43 +0000 (12:11 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 8 Jun 2016 10:11:43 +0000 (12:11 +0200)
src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java
src/org/mxchange/jusercore/model/user/LoginUser.java

index 29bc123a5c5c0a42c05766636a47c4eca55a386d..c55cc94a55da59f2c16dcaf61e0b513ce019db10 100644 (file)
@@ -34,6 +34,7 @@ import javax.persistence.OneToOne;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
+import javax.persistence.Transient;
 import org.mxchange.jusercore.model.email_address.status.EmailChangeStatus;
 import org.mxchange.jusercore.model.user.LoginUser;
 import org.mxchange.jusercore.model.user.User;
@@ -58,6 +59,7 @@ public class EmailAddressChange implements ChangeableEmailAddress {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 398_459_287_176_139L;
 
        /**
index a8a835dbf7e90795607fd2802a1a44a1549ce959..155f413e3bf08ce5a3bffbce380d75a7ed539613 100644 (file)
@@ -36,6 +36,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.Contact;
 import org.mxchange.jcontacts.contact.UserContact;
 import org.mxchange.jusercore.model.user.profilemodes.ProfileMode;
@@ -70,6 +71,7 @@ public class LoginUser implements User {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 4_328_454_581_751L;
 
        /**