A java.sql.Date does not have time information - just the day-month-year.

A java.util.Date has date and time information.

If you need date and time, use java.sql.Timestamp.

It's not very pretty moving from one to the other.

David


-----Original Message-----
From: Feliks Shvartsburd [mailto:[EMAIL PROTECTED]
Sent: October 10, 2006 12:04 PM
To: mysql@lists.mysql.com
Subject: java.util.Date versus java.sql.Date


Hello

 

Besides some obvious differences in implementations between util.Date
and sql.Date are there any other issues/advantages or disadvantages
using one versus the other?

 

Thanks

 

 



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to