R
RAMK
Hi,
I have seen in the java doc of ResultSet.getTimeStamp(String,
Calendar). But I could not understand the significance of Calendar
object. Can you please tell me whats the purpose of Calendar object
here...
In addition to this, shortly this is my problem: I have a date field in
the database(oracle) like 01-01-1970 10:00. There is no timezone
information associated with this as it is a normal date type in the
database. Now my JVM is in different timezone. What I require is- this
date(in the database) to be read as it is into my java code using
getTimeStamp() without any timezone conversions. My assumption is that
there exists some default timezone conversion by JDBC driver while
reading the date from the database.
Please clarify...
Much appreciated,
Ramesh
I have seen in the java doc of ResultSet.getTimeStamp(String,
Calendar). But I could not understand the significance of Calendar
object. Can you please tell me whats the purpose of Calendar object
here...
In addition to this, shortly this is my problem: I have a date field in
the database(oracle) like 01-01-1970 10:00. There is no timezone
information associated with this as it is a normal date type in the
database. Now my JVM is in different timezone. What I require is- this
date(in the database) to be read as it is into my java code using
getTimeStamp() without any timezone conversions. My assumption is that
there exists some default timezone conversion by JDBC driver while
reading the date from the database.
Please clarify...
Much appreciated,
Ramesh