hi all
According to the section 10.6.4 of the
EJB 2.0 Specs, the return type of ejbCreate method of a CMP enity bean is the primary key type of the bean. The primary key field cannot be a primitive type, so that means that ejbCreate cannnot return a primitive type.
However, I have seen examples in which ejbCreate returns the int return type. Also void in some cases.
Can someone please comment on this ?
Thanks
Vipin