|
I don�t understand...
What should I do ?
Criteria crit = new Criteria(); crit.addEqualTo("nf", nf); // crit.addOrderBy("company.type", true); // deprecated
Query query = new QueryByCriteria(Note.class, crit);
-------Mensagem original-------
Data: 07/30/04 11:22:49
Assunto: Re: addOrderBy
I think you should create a QueryByCriteria, and the use the addOrderBy
on the query.
Richter
Em Sex, 2004-07-30 �s 11:19, Glauber Andrade escreveu:
> Hello,
>
> I was using rc5 and I changed to 1.0.0 today.
>
> I use Criteria.addOrderBy() and now it has been deprecated. How do I
> order ??
>
> Glauber
>
>
>
>
>
> ____________________________________________________
> IncrediMail - O mundo do correio eletr�nico finalmente
> desenvolveu-se - Clique aqui
---------------------------------------------------------------------
|