• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in Enitty Beans with Jboos

 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have created an EntityBean, which has an additional findX() method apart from default findByPrimaryKey().

Am successful accesssing the findByPrimaryKey() method.

But while trying to access findName() ending up with the follwoing error

"java.lang.IllegalStateException: Failed to find method for hash:8664748665498233931"

I have configured the method in ejb-jar.xml and have done the mapping in jbosscmp-jdbc.xml for the fields in database.

Could I know where its going wrong.

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!