Hello, I used addAscendingOrderByColumn() too, but the exception is still there...
Eric Dobbs wrote: > On Friday, January 18, 2002, at 06:39 AM, Sorin Scortan wrote: > > > Criteria crit = new Criteria(); > > crit.add(CategoryPeer.LEVEL, 1, (String)Criteria.EQUAL); > > crit.addOrderByColumn(CategoryPeer.CATEGORYID); > > A snip from the source code for Criteria: > > /** > * @deprecated Use addAscendingOrderByColumn() instead. > */ > public Criteria addOrderByColumn( String name ) > > This information also appears in the javadocs. And just to > be as clear as possible: > > "Use addAscendingOrderByColumn() instead." > > Hope that helps. > -Eric > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Sorin Scortan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
