4 Replies Latest reply on Apr 30, 2002 12:53 PM by Dain Sundstrom

    EJB-QL question

    David Le Moing Newbie


      I want to get a collection of entity which contains some objects in a collection.
      I've tried this but it doesn't work :

      <ejb-ql>select object(i) from Interlocuteur i where ?1 MEMBER OF i.environnements AND ?2 MEMBER OF i.environnements</ejb-ql>

      Any idea ?
      Thanks in advance.