From: Roland Haeder Date: Sat, 12 Mar 2016 12:57:34 +0000 (+0100) Subject: maybe no @Basic to fix longblob? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2d3dde338ece95a472efd3ae234513c0cf9057e;p=juser-login-core.git maybe no @Basic to fix longblob? --- diff --git a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java index 6f4d9d5..c947b46 100644 --- a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java +++ b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java @@ -91,9 +91,8 @@ public class EmailAddressChange implements ChangeableEmailAddress { /** * User initiating the email change */ - @Basic (optional = false) @Column (name = "email_change_user_id", length = 20, nullable = false, updatable = false) - @OneToOne (targetEntity = LoginUser.class, optional = false, cascade = CascadeType.REFRESH) + @OneToOne (targetEntity = LoginUser.class, cascade = CascadeType.REFRESH, optional = false) private User emailChangeUser; /**