Hi!

I have a doubt about how an OQL query should be written in order to be
processed ok with OJB.
The doubt is the following:
Which of this two queries is more correct
select x.id, x.a.b from MyClass order by  a.b, id;
or
select x.id, x.a.b from MyClass order by  x.a.b, x.id; ?

If I use the second query I have some problems with some table mappings
and when I use the first one it has always worked well.


-- 
Saludos,

Martin I. Levi

Centre Tecnol�gic de Transferenci�ncia de Calor
Universitat Polit�cnica de Catalunya
www.cttc.upc.edu


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to