Hi All
I use JBoss 3.0 RC2. Despite I declared the method 'public abstract void setOwnerId(Integer ownerId);' in my entity bean i get the exception:
java.rmi.ServerException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=setOwnerId;
I really cant figure it out. Any ideas?
Thanks!
You need to declare the field in the ejb-jar.xml file. If you did check the spelling and capitalization. The field should be declared ownerId not OwnerId.