Friend:
I am using the following and it works fine..
private Integer userId;
private Integer id;
private Integer status;
private java.sql.Timestamp tstamp;
I am able to store and retrieve these.
-----Original Message-----
From: Armin Waibel [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 9:29 AM
To: OJB Users List
Subject: 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]>