From 84e1c07278224f3fff5bfc31907fb78f9fbf7c0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 8 Jun 2016 12:11:07 +0200 Subject: [PATCH] let's make sure that serial numbers of objects are never persisted (being ignored by JPA) --- src/org/mxchange/jcountry/data/CountryData.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/mxchange/jcountry/data/CountryData.java b/src/org/mxchange/jcountry/data/CountryData.java index 0c40295..216b9c3 100644 --- a/src/org/mxchange/jcountry/data/CountryData.java +++ b/src/org/mxchange/jcountry/data/CountryData.java @@ -29,6 +29,7 @@ import javax.persistence.NamedQuery; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; +import javax.persistence.Transient; /** * A POJO for country data @@ -49,6 +50,7 @@ public class CountryData implements Country { /** * Serial number */ + @Transient private static final long serialVersionUID = 14_853_982_718_509L; /** -- 2.39.5