0 Replies Latest reply on Sep 14, 2006 5:44 AM by Krishnan Iyer

    JBoss CMP - findByPrimaryKey entry in depolyment descriptor

    Krishnan Iyer Newbie

      Hello all,

      I'm a newbie to JBoss and would really appreciate if someone helps me out. I ran across one of the documents which says that the present releases of JBoss enforces an entry of findByPrimaryKey method in the deployment descriptor, which as per my knowledge was not true till version 3.0.

      When I try to deploy an EJB module without specifying the findByPrimaryKey, it throws an exception saying that findByPrimaryKey declaration is expected in ejb-jar.xml

      But since I'm using a wrapper class for a composite primary key, I cannot specify the corresponding EJB QL for it...What is the solution for this???

      Awaiting your reply
      Krishnan Iyer