Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in Enitty Beans with Jboos  RSS feed

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!