]> git.mxchange.org Git - jcontacts-core.git/commitdiff
added missing cascade type, at least MERGE + updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 11:15:53 +0000 (13:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 11:15:53 +0000 (13:15 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jphone-core.jar
src/org/mxchange/jcontacts/contact/UserContact.java

index 81ca4755ccdf292544af3d629e16f170e56d27f1..eec6972ea0bf3abb4183919486c5384cd4c89967 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 8ab889c64d75e3f4db8f295d3c978f202045d075..ae03a05929bf0aa3acf3bfb186c61e926abc40e8 100644 (file)
@@ -114,7 +114,7 @@ public class UserContact implements Contact, Comparable<Contact> {
         * Country code
         */
        @JoinColumn (name = "contact_country_id", nullable = false)
-       @OneToOne (targetEntity = CountryData.class, optional = false, fetch = FetchType.EAGER)
+       @OneToOne (targetEntity = CountryData.class, cascade = CascadeType.MERGE, optional = false, fetch = FetchType.EAGER)
        private Country contactCountry;
 
        /**