サンプル
public class
BeanClass
implements
javax.ejb.EntityBean {
public
Object returningMethod () {
//..
return this
;
}
//インターフェースを実装する必要のあるその他のメソッド
}
解決策
this
を戻さないようにしてください。代わりに getEJBObject() を使用してください。
public class
BeanClass
implements
javax.ejb.EntityBean {
public
Object returningMethod () {
//..
return this
.getEJBObject();
}
//インターフェースを実装する必要のあるその他のメソッド
}