Chapter 9 Working with Object-Oriented Models


Bean class ejbFind methods

BMP Entity Bean specific.

ejbFind<METHOD> methods must be defined as public and cannot be final nor static. Their return type must be the entity bean primary key type or a collection of primary keys.

Manual correction Automatic correction
Change the method visibility to public and deselect the static check box Changes the method visibility to public and deselects the static and final check boxes. Forces the return type of ejbFind<METHOD> to the primary key type

 


Copyright (C) 2006. Sybase Inc. All rights reserved.