]> git.mxchange.org Git - jcontacts-core.git/commitdiff
no cascading may fix this? + updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 12:42:09 +0000 (14:42 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 12:45:43 +0000 (14:45 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

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

index 414efac950081166b94266e38fee672969ff647f..6da09db142b3d85355881e06c93e869b931e72a0 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 20b6fdf9d3c319bfbf4069502a59e4e054d972fe..b98dfd33465374f277557a64fa4b0b2c90bffdc5 100644 (file)
@@ -109,7 +109,7 @@ public class UserContact implements Contact, Comparable<Contact> {
         * 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;
 
        /**