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.
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 }
Fixed. http://j2ee.netbeans.org/source/browse/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/ejb/shared/AbstractMethodController.java?r1=1.20&r2=1.21
verified
Regression: appeared again.
Fixed. http://j2ee.netbeans.org/source/browse/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/api/methodcontroller/AbstractMethodController.java?r1=1.2&r2=1.3
*** Issue 63607 has been marked as a duplicate of this issue. ***