diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-12-17 22:57:05 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-12-17 22:57:05 +1300 |
commit | 34923934e0ee7d707aa9ffef2712942115236472 (patch) | |
tree | 1e213cce9e4544421cb0196dc8c4df5bcf98e9f7 /src/org/traccar/model | |
parent | 1cde955eb9e506ec3a4cf4b3829d88b798d45175 (diff) | |
download | trackermap-server-34923934e0ee7d707aa9ffef2712942115236472.tar.gz trackermap-server-34923934e0ee7d707aa9ffef2712942115236472.tar.bz2 trackermap-server-34923934e0ee7d707aa9ffef2712942115236472.zip |
Improved progress decoder
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/DatabaseDataManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/model/DatabaseDataManager.java b/src/org/traccar/model/DatabaseDataManager.java index f17839594..073d6ef71 100644 --- a/src/org/traccar/model/DatabaseDataManager.java +++ b/src/org/traccar/model/DatabaseDataManager.java @@ -220,6 +220,7 @@ public class DatabaseDataManager implements DataManager { queryAddPosition.prepare(); + queryAddPosition.setLong("id", position.getId()); queryAddPosition.setLong("device_id", position.getDeviceId()); queryAddPosition.setTimestamp("time", position.getTime()); queryAddPosition.setBoolean("valid", position.getValid()); |