using Mysql with jdk1.4 

when criteria addDate is used a syntax error is thrown on execution .. this i think is 
due 
to the toString of GregorianCalender.. 

if I use add(COLUMN, (Date Instance)) it works fine .. 

I don't understand why if the Object generation maps a MYSQL Date field to a java Date 
Object, the criteria uses a gregorian calender object instead to map to a date field 
.. 

incidently .. using add(COLUMN, new GregorianCalender(x,y,z).getTime()) .. works fine 
.. 

has this been fixed somewhere ... or should i submit a patch 

cheers dudes .. 
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to