• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Error in Enitty Beans with Jboos

 
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic