we are using Date for the database column instead of DateTime ....Do we have to change the column to datetime or is there a way to get the time portion with date column ?
Thanks for the reply .I have tried resultset.getTimestamp also but I am not able to get the time portion ....The code is working fine in Tomcat ...When I deploy it on weblogic I am losing the time portion..
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.\
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.\
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.\