Re: problem with between criteria

Carlos Chávez <[email protected]>
Newsgroups gmane.comp.jakarta.ojb.user
Organization AG Software, S.A.
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.