diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-16 11:26:57 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-16 11:26:57 +1200 |
commit | 40bb1b4b9a22f7e88aa17562078260570255de43 (patch) | |
tree | e227eba328144ae43c71ef3ada1f712abd78b4f0 /src/org/traccar | |
parent | 30f10f12d32915d74e36b4bf336e4e2d7ac3aada (diff) | |
download | trackermap-server-40bb1b4b9a22f7e88aa17562078260570255de43.tar.gz trackermap-server-40bb1b4b9a22f7e88aa17562078260570255de43.tar.bz2 trackermap-server-40bb1b4b9a22f7e88aa17562078260570255de43.zip |
Remove legacy SQL query attributes
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/database/DataManager.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 99f6613f4..d9a1439f2 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -438,11 +438,6 @@ public class DataManager implements IdentityManager { position.setId(QueryBuilder.create(dataSource, getQuery("database.insertPosition"), true) .setDate("now", new Date()) .setObject(position) - .setDate("time", position.getFixTime()) // tmp - .setLong("device_id", position.getDeviceId()) // tmp - .setLong("power", 0) // tmp - .setString("extended_info", MiscFormatter.toXmlString(position.getAttributes())) // tmp - .setString("other", MiscFormatter.toXmlString(position.getAttributes())) // tmp .executeUpdate()); } @@ -450,11 +445,6 @@ public class DataManager implements IdentityManager { QueryBuilder.create(dataSource, getQuery("database.updateLatestPosition")) .setDate("now", new Date()) .setObject(position) - .setDate("time", position.getFixTime()) // tmp - .setLong("device_id", position.getDeviceId()) // tmp - .setLong("power", 0) // tmp - .setString("extended_info", MiscFormatter.toXmlString(position.getAttributes())) // tmp - .setString("other", MiscFormatter.toXmlString(position.getAttributes())) // tmp .executeUpdate(); } |