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

lib/jcontacts-core.jar
src/org/mxchange/jusercore/model/user/LoginUser.java

index 91bd4adf18857be57a2c1ca930f6ef3e4c5a6f8c..0366960c7a937add1673cd47c2056907661b0a6d 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 1e64f1dad7524c658dc608fe486f50338f780c20..9f3f14f3bb1101cce3c83928e66fe8d230ea3da6 100644 (file)
@@ -96,7 +96,7 @@ public class LoginUser implements User {
         * Id number from "contacts" table
         */
        @JoinColumn (name = "user_contact_id", nullable = false, updatable = false)
-       @OneToOne (targetEntity = UserContact.class, optional = false, cascade = CascadeType.ALL)
+       @OneToOne (targetEntity = UserContact.class, cascade = CascadeType.ALL, optional = false)
        private Contact userContact;
 
        /**