1 Reply Latest reply on Feb 13, 2004 11:01 AM by julien.dubois

    EJB-QL problem ???

    ericmacau

      Hello,

      How can I define a EJB-QL to for the following conditions ?
      1. to retrieve all the Goals for a specific Player and a specific Season



      
      
      +------+ +----------+
      | Goal |------------- | Player |
      +------+ * 1 +----------+
       *|
       |
       1|
      +---------+
      | Season |
      +---------+
      
      
      Player 1:N Goal
      Season 1:N Goal
      
      
      I want to get all the Goals for Player(playerId=1) and Season(seasonId=1).
      
      How to define the EJB-QL ???