R Ravishankar <rravishankar@sify.com> writes:
> Moreover it was found that if we retrieve the resultset as a getString instead of a getTimestamp, it returns
correctly.
Oh? That suggests that the problem is in JDBC or the underlying JVM.
I'd suggest asking the pgsql-jdbc list about it.
regards, tom lane