OK, I see. The MS SQL Server database provides only the "datetime" format. In my driver doc, this format corresponds to the TIMESTAMP jdbc-type.
I will use the FieldConversions to convert Timestamp to Date. Another problem is how to display the Date instance in a XMLForm because, as I see, this form needs a String otherwise there is a strange sth@sth displayed. Anyone had the same problem? Regards Sylvain -----Message d'origine----- De: Armin Waibel [mailto:[EMAIL PROTECTED]] Date: vendredi, 17. janvier 2003 15:29 �: OJB Users List Objet: Re: date format with OJB Hi, see docs shipped with OJB: JdbcTypes DATE java.sql.Date TIME java.sql.Time TIMESTAMP java.sql.Timestamp regards, Armin ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 12:12 PM 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
