範例
public static class
BeanClass
implements
javax.ejb.SessionBean {
private static final
Collection ejbFindByPrimaryKey (String key)
throws
FinderException{
//..
}
//必須實作這個介面的方法
}
解決方案
將 finder 方法宣告為
public
,而不是
static
,也不是
final
public class
BeanClass
implements
javax.ejb.SessionBean {
public
Collection ejbFindByPrimaryKey (String key)
throws
FinderException{
//..
}
//必須實作這個介面的方法
}