Make Rider <-> Preferences unidirectional
This commit is contained in:
parent
c2988d5a8e
commit
87ffe9dc51
@ -15,13 +15,9 @@ public class Preferences implements IPreferences {
|
||||
private Long id;
|
||||
|
||||
@ElementCollection(fetch = FetchType.LAZY)
|
||||
@OrderColumn
|
||||
@JoinTable(name = J_PREFERENCES_DATA)
|
||||
private Map<String, String> data = new HashMap<>();
|
||||
|
||||
@OneToOne(targetEntity = Rider.class, fetch = FetchType.LAZY)
|
||||
private IRider rider;
|
||||
|
||||
@Override
|
||||
public Long getId() {
|
||||
return id;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user