From: Roland Haeder Date: Mon, 12 Oct 2015 12:42:09 +0000 (+0200) Subject: no cascading may fix this? + updated jar(s) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b4d6c9271b6ce652406b69609c2aba8503c9675b;p=jcontacts-core.git no cascading may fix this? + updated jar(s) Signed-off-by:Roland Häder --- diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index 414efac..6da09db 100644 Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ diff --git a/src/org/mxchange/jcontacts/contact/UserContact.java b/src/org/mxchange/jcontacts/contact/UserContact.java index 20b6fdf..b98dfd3 100644 --- a/src/org/mxchange/jcontacts/contact/UserContact.java +++ b/src/org/mxchange/jcontacts/contact/UserContact.java @@ -109,7 +109,7 @@ public class UserContact implements Contact, Comparable { * Country code */ @JoinColumn (name = "contact_country_id", nullable = false) - @OneToOne(targetEntity = CountryData.class, cascade = CascadeType.ALL, optional = false, fetch = FetchType.EAGER) + @OneToOne(targetEntity = CountryData.class, optional = false, fetch = FetchType.EAGER) private Country contactCountry; /**