diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-30 09:39:25 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-30 09:39:25 +1200 |
commit | 6c3367bc3fb2e60e9a9a48e419907a3e49ba07e6 (patch) | |
tree | 3eefdd88ae1e9d811d7a645522aacf59376d8c85 | |
parent | e2e62cdab540c7b5c5b7614a7b80707a4ff72e1d (diff) | |
download | traccar-server-6c3367bc3fb2e60e9a9a48e419907a3e49ba07e6.tar.gz traccar-server-6c3367bc3fb2e60e9a9a48e419907a3e49ba07e6.tar.bz2 traccar-server-6c3367bc3fb2e60e9a9a48e419907a3e49ba07e6.zip |
Bind protocol in database
-rw-r--r-- | src/org/traccar/database/DataManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 0a4e3d622..33de88876 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -179,6 +179,7 @@ public class DataManager { private NamedParameterStatement.Params assignVariables(NamedParameterStatement.Params params, Position position) throws SQLException { + params.setString("protocol", position.getProtocol()); params.setLong("device_id", position.getDeviceId()); params.setTimestamp("time", position.getFixTime()); params.setBoolean("valid", position.getValid()); |