I am using java.sql.Date which is deprecited and when I add this date it
adds some other value for date

say I add
 java.sql.Date d = new java.sql.Date(2000,9,11);
It adds in the database as
10/11/3900

I am using jBoss 2.4  as App server and Orcale 8i as database

Which is the most appropiate data format to be used????

Also in Jboss I may have to add the new class in standardjaws.xml, by
default it uses java.sql.Date

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to