From f2d3dde338ece95a472efd3ae234513c0cf9057e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 12 Mar 2016 13:57:34 +0100 Subject: [PATCH] maybe no @Basic to fix longblob? --- .../jusercore/model/email_address/EmailAddressChange.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; /** -- 2.39.5