Carlos, that's odd. I just noticed that the Criteria APIs seem to have a
pattern where they allow either raw columns or the field name and the field
name was not working for me. Unfortunately I just moved this code over to
use a raw SQL query so I can't get you any error messages. Thanks for the
response anyhow.
mike
Carlos Chávez <[EMAIL PROTECTED]> wrote on 08/18/2006 12:13:25 PM:
> Mike Perham escribió:
> >
> >
> > I'm using
> >
> > crit.addBetween("invoke_date", new
Timestamp(startDate.getTime()),
> > new Timestamp(endDate.getTime()));
> >
> > The problem is that that between does not have a Field API like
> > addFieldBetween so I need to use the raw column name. Is there any
reason
> > why this API is missing?
> >
> > mike
> >
> Hi mike.
> I'm using addBetween without problems, I'm using the attribute in the
> java class not the column name.
> maybe you can post a more complete example about what are you trying to
do.
>
> do you have any message of error ?
>
> Cheers.
> Carlos Chávez.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>