Results 1 to 1 of 1
Thread: Error deploying Entity Bean
- 05-01-2008, 05:17 AM #1
Member
- Join Date
- May 2008
- Posts
- 1
- Rep Power
- 0
Error deploying Entity Bean
I'm deploying some Entity beans but when I have a remove method in a localhome interface i get this error :
Bean : HSBCBcdmHolidays
Method : public abstract void remove(HSBCBcdmHolidaysPK) throws RemoveException
Section: 12.2.11
Warning: Each local home method must match a method defined in the entity bean class.
This is the ejbRemove in the Bean :
public void ejbRemove(HSBCBcdmHolidaysPK key) throws RemoveException {
try {
m_primaryKey = key;
deleteRow();
} catch (Exception ex) {
throw new EJBException("ejbRemove: " + ex.getMessage());
}
}
And this is the method in the localhome :
void remove(HSBCBcdmHolidaysPK key) throws RemoveException;
I really dont know what can i do.
Thanks.
Robert
Similar Threads
-
Sample Entity Bean
By Java Tip in forum Java TipReplies: 0Last Post: 12-28-2007, 10:41 AM -
Home interface for entity bean
By Java Tip in forum Java TipReplies: 0Last Post: 12-28-2007, 10:41 AM -
Remote interface for entity bean
By Java Tip in forum Java TipReplies: 0Last Post: 12-28-2007, 10:40 AM -
Error while deploying.war in WAS6.1(Plz help)
By Shweta.pattankar in forum Advanced JavaReplies: 1Last Post: 07-12-2007, 07:49 PM -
Struts tag error with bean:write
By sandor in forum Web FrameworksReplies: 1Last Post: 04-07-2007, 04:50 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks