personally I prefer to avoid using the java.sql.Timestamp in my business objects because it implies something database specific.
For some stuff I did with 0.9.5 I used a java.util.Date object in my business objects and made use of the JavaDate2SqlTimestampFieldConversion.java to convert the incoming and outgoing values between Date and Timestamp. HTH Tim -------------------------------------------- Tim Gibbs RBC Capital Markets Phone: (416) 842-4663 E-Mail: [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 6:13 AM To: [EMAIL PROTECTED] Subject: date format with OJB Hello, I'm using the datetime format for the date in my MS SQL database. In the repository file I put the TIMESTAMP format as JDBC-type. But which java format could I use in my class? Timestamp? Date? DateFormat? other? Thank you Sylvain -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> <font face="Times New Roman" size="3"> <p>------------------------------------------------------------------------------</p> <p> This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.</p> <p> Ce courriel est confidentiel et prot�g�. L'exp�diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d�sign�(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm�diatement, par retour de courriel ou par un autre moyen.</p> <p>====================================================</p> </font>
