diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 11:51:45 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 11:51:45 +1200 |
commit | 5cf1061cfcc5baf214bce145961512fd4f672621 (patch) | |
tree | 32efac22ba11abddec21656685c3e0ba730b1e47 /src/org/traccar/database | |
parent | 34a70e81ecb613c3216fcdd581a9724216137b41 (diff) | |
download | trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.tar.gz trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.tar.bz2 trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.zip |
Rename other field to attributes
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/DataManager.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index add355ea7..89df198fa 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -331,7 +331,8 @@ public class DataManager implements IdentityManager { .setDate("time", position.getFixTime()) // tmp .setLong("device_id", position.getDeviceId()) // tmp .setLong("power", 0) // tmp - .setString("extended_info", MiscFormatter.toXmlString(position.getOther())) // tmp + .setString("extended_info", MiscFormatter.toXmlString(position.getAttributes())) // tmp + .setString("other", MiscFormatter.toXmlString(position.getAttributes())) // tmp .executeUpdate()); } @@ -341,7 +342,8 @@ public class DataManager implements IdentityManager { .setDate("time", position.getFixTime()) // tmp .setLong("device_id", position.getDeviceId()) // tmp .setLong("power", 0) // tmp - .setString("extended_info", MiscFormatter.toXmlString(position.getOther())) // tmp + .setString("extended_info", MiscFormatter.toXmlString(position.getAttributes())) // tmp + .setString("other", MiscFormatter.toXmlString(position.getAttributes())) // tmp .executeUpdate(); } |