From 34923934e0ee7d707aa9ffef2712942115236472 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 17 Dec 2012 22:57:05 +1300 Subject: Improved progress decoder --- src/org/traccar/model/DatabaseDataManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/org/traccar/model') 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()); -- cgit v1.2.3