ResultSet getTimestamp
Posted by: Martin Dubuc
Date: June 29, 2005 12:14PM

I have a table that contains a datetime column named StartTime.

In my Java source, I perform the following operation:

startTime = rs.getTimestamp("StartTime");

What I have noticed is that getTimestamp performs some sort of timezone conversion. For instance, if the value of StartTime is "2005-07-04 01:00:00", when I print the result of getTimestamp, I see "2005-07-04 05:00:00". I would like to get the raw value from the database. How is it possible?

Martin

Options: ReplyQuote


Subject
Written By
Posted
ResultSet getTimestamp
June 29, 2005 12:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.