HI :
I turned on the SQL in Boot.scala by
DB.addLogFunc((query, len) => Log.info("The query: "+query+" took "+len
+" milliseconds"))
However I found for each query, it generates two actual querys, at
least in log it shows two.
The first one seems to be real, but the second one is always with some
"** NOT SPECIFIED **"
for example
[INFO] Starting scanner at interval of 5 seconds.
23:24:11.501 [31720052@qtp-4321831-0] INFO lift - The query:
com.mysql.jdbc.JDB
C4PreparedStatement@3d12a6: SELECT DISTINCT
room.id, room.room_name,
room.room_
comment, room.day_minutes, room.night_minutes, room.max_user,
room.room_flags, r
oom.status, room.victory, room.created, room.updated FROM room WHERE
id = 1 t
ook 16 milliseconds
23:24:11.501 [31720052@qtp-4321831-0] INFO lift - The query:
com.mysql.jdbc.JDB
C4PreparedStatement@3d12a6: SELECT DISTINCT
room.id, room.room_name,
room.room_
comment, room.day_minutes, room.night_minutes, room.max_user,
room.room_flags, r
oom.status, room.victory, room.created, room.updated FROM room WHERE
id = ** N
OT SPECIFIED ** took 31 milliseconds
The second query is exactly the same just the id becomes ** NOT
SPECIFIED ** ?
I wonder why this would happen.
Thanks for the help.
Note: All other DB queries seem to be duplicated in the same way too.