Mark transient field for hibernate to fix mapping issue
*/
package wherehows.models;
-import lombok.Data;
-
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
+import javax.persistence.Transient;
+import lombok.Data;
+
@Data
@Entity
@@ -41,5 +42,6 @@ public class User {
@Column(name = "name")
private String name; // ldap display name
- UserSetting userSetting;
+ @Transient
+ private UserSetting userSetting;
}
