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 {
|
public class Preferences implements IPreferences {
|
||||||
@Id
|
@Id
|
||||||
private Long id;
|
private Long id;
|
||||||
|
@ElementCollection
|
||||||
private Map<String, String> data;
|
private Map<String, String> data;
|
||||||
|
|
||||||
@OneToOne(fetch = FetchType.LAZY)
|
@OneToOne(fetch = FetchType.LAZY)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user