aspose file tools*
The moose likes BEA/Weblogic and the fly likes resultset getDate() not retrieving time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "resultset getDate() not retrieving time" Watch "resultset getDate() not retrieving time" New topic
Author

resultset getDate() not retrieving time

praveenreddy dinnapaty
Greenhorn

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.\

please help me
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
take a look at javadocs!!!

try using resultset.getTimestamp()

regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: resultset getDate() not retrieving time
 
Similar Threads
Time getting truncated in Weblogic
no working
bean:write datetime
Date not fully replaced by Calendar?
Time getting truncated in Weblogic