How can I select an object that is in a Collection in a Many-many relationship?

In a Many-One relationship, I can do this:

select o from DetailClass o
where o.parentObject.id = "...."

How can I do the similar thing in Many-many?

Thanks

==========================
 Marcio Antonio Ramos Alves  
      Quality Software Ltda.             
    0 XX 21 3475-3013         
                                                            
    [EMAIL PROTECTED]      
    [EMAIL PROTECTED]            
    [EMAIL PROTECTED]          
==========================

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to