Add ElementCollection Annotation
This commit is contained in:
@@ -10,6 +10,7 @@ import java.util.Map;
|
||||
public class Preferences implements IPreferences {
|
||||
@Id
|
||||
private Long id;
|
||||
@ElementCollection
|
||||
private Map<String, String> data;
|
||||
|
||||
@OneToOne(fetch = FetchType.LAZY)
|
||||
|
||||
Reference in New Issue
Block a user