From 6c3367bc3fb2e60e9a9a48e419907a3e49ba07e6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 30 Apr 2015 09:39:25 +1200 Subject: Bind protocol in database --- src/org/traccar/database/DataManager.java | 1 + 1 file changed, 1 insertion(+) 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()); -- cgit v1.2.3