I am sorry, I lost the original question e-mail.

You need to do something like

java.sql.Date d1 = new java.sql.Date(myDate.getTime());
prepStmt.setDate(2, d1);

where myDate is java.util.Date and prepStmt is a PreparedStatement. You can
also try oracle.sql.Date.

Of course you can also do

rset.getDate(1)

where rset is your ResultSet.

Benjamin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to