I have noticed in the Criteria object that addDate(String, int, int, int) creates a
GregorianCalender and passses that to an and(String, Object) then in SqlExperssion,
when the actual SQL string gets built there is an IF looking for instances of Date to
pass to DB.getDateString()... so you can see the problem here... if you use
Criteria.andDate() you end up with a gregoriancalander.toString() in your SQL, which
doesn't work so good.. we could add a if(instance of GregorianCalender) in
SqlExpression or we could do a
add("COLUMN", gc.getTime()) in criteria instead of add("COLUMN", gc)... anyone have
any input on the way this is now or should be in the future?
</dan>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>