This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 61518

Summary: ejbCreate/ejbPostCreate returns wrong type
Product: javaee Reporter: L Martinek <lmartinek>
Component: EJBAssignee: Martin Adamek <madamek>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description L Martinek 2005-07-28 16:11:49 UTC
If I add create method through "EJB Methods -> Add Create Method" action,
generated code is wrong, it always return Local interface, but it should return
type of primary key for ejbCreate and void for ejbPostCreate.

Example of generated code:

public MyEntityLocal ejbCreate2() throws javax.ejb.CreateException {
       //TODO implement ejbCreate2
}

public MyEntityLocal ejbPostCreate2() throws javax.ejb.CreateException {
       //TODO implement ejbPostCreate2
}
Comment 2 L Martinek 2005-08-08 10:32:12 UTC
verified
Comment 3 L Martinek 2005-09-02 16:54:29 UTC
Regression: appeared again.
Comment 5 Martin Adamek 2005-09-05 12:22:36 UTC
*** Issue 63607 has been marked as a duplicate of this issue. ***
Comment 6 L Martinek 2005-09-12 17:29:39 UTC
verified