org.h2.Driver
org.h2.jdbcx.JdbcDataSource
jdbc:h2:/home/user/Documents/traccar/target/database
sa
300
id - Long
imei - String
<-->
SELECT id, uniqueId as imei
FROM devices;
device_id - Long
time - Date
valid - Boolean
latitude - Double
longitude - Double
speed - Double
course - Double
power - Double (NULL for some protocols)
extended_info - String (XML)
<-->
INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, other)
VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :extended_info);
device_id - Long
id - Long
<-->
UPDATE devices SET latestPosition_id = :id WHERE id = :device_id;
true
8082
/home/user/Documents/traccar-web/traccar-web.war
false
true
/home/user/Documents/traccar/target/tracker-server.log
true
5000
true
5001
true
5002
true
5003
true
5004
true
5005
true
5006
true
5007
true
5008
true
5009
true
5010
true
5011
true
5012
true
5013
true
5014
true
5015
true
5016
true
5017
true
5018
true
5019
true
5020
true
5021
true
5022
true
5023
true
5024
true
5025
true
5026
true
5027
true
5028
true
5029
true
5030
true
5031
true
5032
true
5033
true
5034
true
5035
true
5036
true
5037
true
5038
true
5039
true
5040
true
5041
true
5042
true
5043
true
5044
true
5045
true
5046
true
5047
true
5048
true
5049
true
5050
true
5051
true
5052
true
5053
true
5054
true
5055
true
5056
true
5057
true
5058