Beispiel

public class BeanClass implements javax.ejb.EntityBean {
public void ejbCreate () {
//..
}
public void ejbCreate(int a){
//..
}

//no matching ejbPostCreate() method
//other methods that must implement the interface
}

Lösung
Implementieren Sie immer eine entsprechende Methode 'ejbPostCreate()' für jede Methode 'ejbCreate()'.


public class BeanClass implements javax.ejb.EntityBean {
public void ejbCreate () {
//..
}
public void ejbCreate(int a){
//..
}
public void ejbPostCreate () {
//..
}
public void ejbPostCreate (int a) {
//..
}
//other methods that must implement the interface
}