Chapter 9 Working with Object-Oriented Models
ejbCreate<METHOD> methods must be defined as public, and cannot be final nor static.
The following check applies to Entity Beans only.
The return type of an ejbCreate() method must be the primary key type.
Manual correction | Automatic correction |
---|---|
Select the primary key in the Return type dropdown listbox of the Operation property sheet | Selects the primary key as return type |
The following check applies to Session Beans and Message Driven Beans.
The return type of an ejbCreate() method must be void.
Manual correction | Automatic correction |
---|---|
Select void in the Return type dropdown listbox of the Operation property sheet | Changes the return type to void |
The following check applies to Message Driven Beans only.
The Bean class must define an ejbCreate() method that takes no arguments.
Manual correction | Automatic correction |
---|---|
Add a method with no argument in the Bean class | Adds a method with no argument in the Bean class |
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |