From: Roland Haeder Date: Fri, 16 Oct 2015 11:13:15 +0000 (+0200) Subject: added missing cascade type, at least MERGE + updated jar(s) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02013301fa11f8756aefc9bdf46e7dbf9024ac38;p=juser-login-core.git added missing cascade type, at least MERGE + updated jar(s) Signed-off-by:Roland Häder --- diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index 91bd4ad..0366960 100644 Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index 1e64f1d..9f3f14f 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -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; /**