diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-24 14:13:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-24 14:13:02 +1300 |
commit | be1baf2b062587099171b485ac1e3f591034816f (patch) | |
tree | de182ea8ae504028b5ba44ac32ea74bbb8e6ee29 /src/org/traccar/database | |
parent | e98b651676eb7a2cd893ac996433365ac5b38ac9 (diff) | |
download | trackermap-server-be1baf2b062587099171b485ac1e3f591034816f.tar.gz trackermap-server-be1baf2b062587099171b485ac1e3f591034816f.tar.bz2 trackermap-server-be1baf2b062587099171b485ac1e3f591034816f.zip |
Support queries with result
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/QueryBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/QueryBuilder.java b/src/org/traccar/database/QueryBuilder.java index f50546129..c3cde0723 100644 --- a/src/org/traccar/database/QueryBuilder.java +++ b/src/org/traccar/database/QueryBuilder.java @@ -421,7 +421,7 @@ public final class QueryBuilder { if (query != null) { try { - statement.executeUpdate(); + statement.execute(); if (returnGeneratedKeys) { ResultSet resultSet = statement.getGeneratedKeys(); if (resultSet.next()) { |