[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss CMP - findByPrimaryKey entry in depolyment descriptor

iyerkrishnan do-not-reply at jboss.com
Thu Sep 14 05:44:49 EDT 2006


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 
regards,
Krishnan Iyer

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971512#3971512

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971512



More information about the jboss-user mailing list