I found the solution to this problem. The and
need to be in the same target. Otherwise, the
deployment descriptor will refer to your entity bean and not the CMP version
that xdoclet generates.
Since the entity bean doesn't implement the getData method, you get the
runtime error.
On Tuesday
All,
I have an entity bean (RoleBean) with an abstract getData function. The
implementation has been generated by XDoclet, and is in RoleBeanCMP.
I have also generated the XDoclet session facade bean, which includes a
findByPrimaryKey method.
When I call this method, I get the runtime error: