tags:

views:

116

answers:

0

Hi All,

I have a field in timestamp with time zone in oracle, and i need to set the value to a session variable in java. So if you have any idea related to it. Please Share with me..

Field in oracle : START_DATE TIMESTAMP(9) WITH TIME ZONE

Field required to get in the result set and set to value object : sampleVO.setStartDate(rs.getTimeStamp(1));

SampleVo: private TimeStamp startDate

Actually i need to get the value as : 2007-02-26T21:23:14.250+01:00

So from the above code i am getting only the output as 2007-02-26T21:23:14.250

So need some guidance....