Hello all, how r u ? wishing all the best of luck.
I have a problem with Timestamp.
this is the problem :
I have a DB Oracle 10g, and i made a query to return fields from the DB ( fields were : date1 as Date & load as Number) and the rows returned with some parameters are :
date1 load
DD/MM/YYYY
1 - 01/05/2007 0.0
2 - 02/05/2007 2.6
3 - 03/05/2007 8.3
4 - 04/05/2007 10.9
when inserting this statement in java code and return rows in ResultSet, I made 2 objects : Timestamp/Date for date1 and BigDecimal for load and the result is:
1 - 01/05/2007 00:00:00 0.0 // it is OK
2 - 02/05/2007 00:00:00 2.6 // it is OK
3 - 02/05/2007 23:00:00 8.3 // ERROR
4 - 04/05/2007 00:00:00 10.9 (
not 03/05/2007 )
PLZ, if any one can help me in this problem

and thanks alot.