Re: [ojb-users] OQL and order by clauses
Brought to you by:
thma
From: David R. <cas...@fr...> - 2002-05-09 18:21:58
|
hi jakob the sql generated is correct , i really don't understand i'm using MySQL 3.23 (ojb automatically switches to default ) may that be an issue ? i wanted to try the cvs version but i feel a little confused by the cvs tree this is what the website says : cvs -d :pserver:ano...@cv...:/cvsroot/objectbridge login cvs -z3 -d :pserver:ano...@cv...:/cvsroot/objectbridge co modulename ok, what module do i checkout ? i don't see tags on the cvs tree... how can i compare the cvs version to the one i downloaded from the download page ? thank for your help David ----- Original Message ----- From: "Jakob Braeuchi" <jbr...@ho...> To: "David Rault" <cas...@fr...>; <obj...@li...> Sent: Thursday, May 09, 2002 7:17 PM Subject: Re: [ojb-users] OQL and order by clauses > hi david, > > i cannot reproduce this error. the following sample code produced a list of > persons sorted by id descending: > > crit = new Criteria(); > crit.addOrderBy("id",false); > query = new QueryByCriteria(Person.class, crit); > broker.getCollectionByQuery(query); > > please set the loglevel for SqlGenerator to DEBUG to see the generated SQL. > modify the following line in OJB.properties: > > # Loger for SqlGenerator, useful for debugging generation of SQL > ojb.broker.accesslayer.SqlGenerator.LogLevel=DEBUG > > i'm working with the current stuff from cvs. > > hth > jakob > |