| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Dates and Java Dates and selecting the former into the later
Good points, Liked the default date format idea (hadn't thought about
that). Alas it makes no odds.
It appears to be to do with the Oracle drivers we are using, if we use
oracle.jdbc.driver.OracleDriver then "Select sysdate from dual" returns a java.sql.timestamp. However if we use oracle.jdbc.xa.client.OracleXADataSource (Which we are) then we getback a java.sql.date and that doesn't have a time element as per the standard.
Any ideas? I'm getting a bit lost...
Mike. Received on Thu Jun 02 2005 - 04:01:47 CDT
![]() |
![]() |