Register / Login
EJB and other Java EE Technologies
Error in Enitty Beans with Jboos
posted 8 years ago
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.
SCJP 1.4 & 1.5, SCWCD 1.5. Learn and Let Learn.
findByPrimaryKey( ... )
Can someone tell me why this doesn't work? What doing wrong?
problem with finder method