By using the OJB FieldConversion mechanism you may choose any representation on the Java side. There are predefined conversions for Date and Timestamps.
See http://jakarta.apache.org/ojb/jdbc-types.html for more details. cheers, Thomas > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 17. Januar 2003 12:13 > An: [EMAIL PROTECTED] > Betreff: 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]>
