]> git.mxchange.org Git - pizzaservice-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:03:12 +0000 (20:03 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 8 Jun 2016 18:03:12 +0000 (20:03 +0200)
src/org/mxchange/pizzaapplication/model/customer/PizzaCustomer.java

index ecda560ba6b9f4b7a56a887298ef7cc401385504..546975441d957d8711f8a1e8b133ea87c9587fa2 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.jcustomercore.model.customer.Customer;
@@ -66,6 +67,7 @@ public class PizzaCustomer implements Customer {
        /**
         * Serial number
         */
+       @Transient
        private static final long serialVersionUID = 14_857_923_178_504_617L;
 
        /**