Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2008, 06:17 AM
Member
 
Join Date: May 2008
Posts: 1
Rep Power: 0
RobertoWIN_MX is on a distinguished road
Default 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
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sample Entity Bean Java Tip Java Tips 0 12-28-2007 11:41 AM
Home interface for entity bean Java Tip Java Tips 0 12-28-2007 11:41 AM
Remote interface for entity bean Java Tip Java Tips 0 12-28-2007 11:40 AM
Error while deploying.war in WAS6.1(Plz help) Shweta.pattankar Advanced Java 1 07-12-2007 08:49 PM
Struts tag error with bean:write sandor Web Frameworks 1 04-07-2007 05:50 AM


All times are GMT +2. The time now is 05:05 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org