[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

jaikiran do-not-reply at jboss.com
Wed Apr 15 12:59:42 EDT 2009


Could you try renaming the "remove" method on the Stateful bean (and its interface) to something else. Example:

/**
  | 	 * this method remove a mission
  | 	 * @see appli.persist.ComintPojo#remove(java.lang.Object)
  | 	 */
  | 	@Override
  | 	public void testingRemove(Mission pojo) {
  | 		Mission result = em.merge(pojo);
  | 		em.remove(result);
  | 	}
  | 
  | 
  | 
And then in client:

pojo.testingRemove(st)
Let us know how it goes.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225702#4225702

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225702



More information about the jboss-user mailing list