I have the next issue, in my database I have the next timestamp "2006-05-23 19:00:00", if I use a PreparedStatement to retrieve the date I obtain "2006-05-23 07:00:00", then if I use a Statement I get "2006-05-23 19:00:00".
Somebody knows if this is a bug and if there is a workaround to solve this? Obviously without having to use a Statement instead of PreparedStatement.
Thanks in advanced.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi:
I have the next issue, in my database I have the next timestamp "2006-05-23 19:00:00", if I use a PreparedStatement to retrieve the date I obtain "2006-05-23 07:00:00", then if I use a Statement I get "2006-05-23 19:00:00".
Somebody knows if this is a bug and if there is a workaround to solve this? Obviously without having to use a Statement instead of PreparedStatement.
Thanks in advanced.