Hi friends

 

I'm puzzled with a basic design problem:

 

I have a VO - say StudentVO - that has a property -> birth_date.

 

Should the birth_date property be of type String (and then in the DAO
convert it to java.sql.Date)  - 

OR - Should it be of type Date and if so - what kind of Date
(java.util.Date or java.sql.Date - most standard classes like
SimpleDateFormat work with java.util.date but that means another
conversion to java.sql.Date later in the DAO).

 

I'm very interested in your opinion

 

Thanks a lot

Rivka

Reply via email to