[EMAIL PROTECTED] wrote:
(I really should read mails more thouroughly :-) )very similar results using 1.0.0 final:
The problem seems to be that you used the wrong method on the criteria object:
criteria.addGreaterThanField("log_time", t);
This method is intended to be used when comparing *with* a field, thus the query building will assume that the second argument denotes a field (i.e. its a string containing the field name).
Instead use
criteria.addGreaterThan("log_time", t);
and you should be fine.
Tom
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]