Hi, i'vi been trying to insert an array of EJBs into a CMP field:
/**
* Links of the article
*
* @remote-method
* @cmp-field
*/
public abstract Link[] getLink();
/**
* Links of the article
*
* @remote-method
* @cmp-field
*/
public abstract void setLink(Link[] value);
(using EJBDoclet :)
Link is a CMP. When deploying the jar, i get the following error:
ArticleHome_EntityHomeWrapper44.java:603: Undefined variable: context
ORList __theList = new Link_ORList45(context);
^
1 error
or is it better to save the EJBs in Colletcions or Enumerations (public abstract
Collection getLink();)?
Thanks,
--nils