Hello, guys.

Say I have two entities: A and B.
A's attributes are id, name and an association to a B. B's attributes are
id and name.
Say I want to retrive a collection of all A ordered by its B's name.

Something like *@OrderBy({"b.name <http://b.name>" = "ASC"})*, except that
this exact sentence doesn't work.

Can anybody shed some light on this?

Thanks a lot.


*Thales Vaz Maciel, Sc.M.*
Bacharel em Sistemas de Informação, URCAMP
Especialista em Sistemas Distribuídos, UNIPAMPA
Mestre em Engenharia de Computação, FURG
Informata de Nível Superior - PMB
http://lattes.cnpq.br/7166030596636868
F: +55 (53) 99419258

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to doctrine-user+unsubscr...@googlegroups.com.
To post to this group, send email to doctrine-user@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to