Add ElementCollection Annotation
This commit is contained in:
parent
280f1b35ee
commit
691c01aa98
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user