File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Time getting truncated in Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Time getting truncated in Weblogic

praveenreddy dinnapaty

Joined: Sep 18, 2007
Posts: 6
I am using getDate() of ResultSet in my program and I am not able to retrieve the time portion of the date . I have 5/28/2008 5:51:23 PM in my DB and when I use resultSet.getDate() I am getting only 5/28/2008.\
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Please don't post the same question in more than one forum. Your first post in JDBC was the approprate place for this.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46362
Thank you for noticing, Paul. Closing thread.
I agree. Here's the link:
subject: Time getting truncated in Weblogic
It's not a secret anymore!