timestamp with local time zone
Posted on 2010-08-13
I have database column insert_date timestamp(6) with local timezone. In my java rowmaper class I have the following mapping.
However in my jsp i don't see the correct date. I am in CST and I see a time 5 hours ahead i.e. GMT. In the database column if I look at the dates are correct and is in CST. Is there a double conversion going on which is making the date to show in GMT. I know I am doing something wrong in my rowmapper....