I have a MySQL table with a couple of TIME column fields. Now, in each row the fields contains stored time data such as 16:45:00 and 17:30:00, which I can see it's right when I make some queries from MySQl Workbench.
The problem is when I want to get back the data from the DDBB with java.sql.Time
. The values changes to 09:45:00 and 10:30:00. I don't undestand why. I tried to use TimeZone
, Calendar
and plenty of other possible solutions but nothing... it doesn't work.
¿Any ideas? Thanks in advance.