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 - ejbCreate/ejbPostCreate returns wrong type
Summary: ejbCreate/ejbPostCreate returns wrong type
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords: REGRESSION
: 63607 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-28 16:11 UTC by L Martinek
Modified: 2005-10-05 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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