aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-04 16:32:56 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-04 16:32:56 +0500
commitadf043bb8167ddb25fe96fcabc4cc35ff2deaf37 (patch)
tree7d85b16258ef033f5e5b7eab7f1d76e41dbd345e /src
parent56110e53d7d86d6b7711a430b6acbc285a5f5605 (diff)
downloadtrackermap-server-adf043bb8167ddb25fe96fcabc4cc35ff2deaf37.tar.gz
trackermap-server-adf043bb8167ddb25fe96fcabc4cc35ff2deaf37.tar.bz2
trackermap-server-adf043bb8167ddb25fe96fcabc4cc35ff2deaf37.zip
Write all fields on insert action
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/database/DataManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index ea90d4d67..17c1299e8 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -146,7 +146,7 @@ public class DataManager {
skip = !method.isAnnotationPresent(QueryExtended.class);
} else {
skip = method.isAnnotationPresent(QueryIgnore.class)
- || method.isAnnotationPresent(QueryExtended.class);
+ || method.isAnnotationPresent(QueryExtended.class) && !action.equals(ACTION_INSERT);
}
if (!skip && method.getName().startsWith("get") && method.getParameterTypes().length == 0) {
String name = Introspector.decapitalize(method.getName().substring(3));