From: Roland Haeder Date: Fri, 23 Oct 2015 15:57:44 +0000 (+0200) Subject: Only merge X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3942ed513b2f614f89c7090be4dfbd09ded40712;p=jphone-core.git Only merge --- diff --git a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java index 158c39f..9b2f99e 100644 --- a/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/landline/LandLineNumber.java @@ -82,7 +82,7 @@ public class LandLineNumber implements DialableLandLineNumber, Comparable { * Country instance ('s dial data) */ @JoinColumn (name = "provider_country_id", nullable = false) - @OneToOne (targetEntity = CountryData.class, cascade = CascadeType.ALL, optional = false, fetch = FetchType.EAGER) + @OneToOne (targetEntity = CountryData.class, cascade = CascadeType.MERGE, optional = false, fetch = FetchType.EAGER) private Country providerCountry; /**