]> git.mxchange.org Git - juser-core.git/commitdiff
maybe no @Basic to fix longblob?
authorRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 12:57:34 +0000 (13:57 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 12:57:34 +0000 (13:57 +0100)
src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java

index 6f4d9d517d9197b06c68a1e3236ef60713f00111..c947b4620f6008584f4d8cad1fe8dc49fe942fa1 100644 (file)
@@ -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;
 
        /**