From: Roland Haeder Date: Wed, 8 Jun 2016 18:03:12 +0000 (+0200) Subject: added @Transient for serial numbers as they should not be persisted under any conditions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fa54fe5b8415dfad0c2c837bf64bb5d8a6f79774;p=pizzaservice-core.git added @Transient for serial numbers as they should not be persisted under any conditions --- diff --git a/src/org/mxchange/pizzaapplication/model/customer/PizzaCustomer.java b/src/org/mxchange/pizzaapplication/model/customer/PizzaCustomer.java index ecda560..5469754 100644 --- a/src/org/mxchange/pizzaapplication/model/customer/PizzaCustomer.java +++ b/src/org/mxchange/pizzaapplication/model/customer/PizzaCustomer.java @@ -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; /**