diff options
Diffstat (limited to 'src/org/traccar/web/shared/model')
-rw-r--r-- | src/org/traccar/web/shared/model/User.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/shared/model/User.java b/src/org/traccar/web/shared/model/User.java index f94f884..805c4a6 100644 --- a/src/org/traccar/web/shared/model/User.java +++ b/src/org/traccar/web/shared/model/User.java @@ -87,7 +87,7 @@ public class User implements Serializable, Cloneable { } @GwtTransient - @OneToMany(fetch = FetchType.EAGER) + @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private List<Device> devices = new LinkedList<Device>(); public void setDevices(List<Device> devices) { |