Article View: es.comp.lenguajes.java
Article #18042Dates in Java-Oracle
From: ecejabs
Date: Wed, 04 Oct 2000 00:00
Date: Wed, 04 Oct 2000 00:00
19 lines
834 bytes
834 bytes
Hello ! I'm trying to make dates queries in Oracle using JDBC-Java. When I use rs.getDate(Oracledatefield) it returns a java Date object with the correct date but not a correct time. If I use rs.getTime(Oracledatefield) it returns a java Date object with the correct time but not a correct date. And after that, I don't know how to join the time field of the second Date object with the date field of the first one. Any ideas? Thanks in advance. Abel Segador
Technical Details
Message-ID:
<39db0f88.90686578@news.ericsson.se>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1116f3,9ba992f78f618318,start X-Google-Attributes: gid1116f3,public From: ecejabs@ece.ericsson.se Subject: Dates in Java-Oracle Date: 2000/10/04 Message-ID: <39db0f88.90686578@news.ericsson.se> X-Deja-AN: 677868097 Organization: ericsson Newsgroups: es.comp.lenguajes.java