Do like this:
/**
* @ejb.relation
* name="empleyee-address"
* role-name="employeeHasAddress"
* cascade-delete="yes"
* target-ejb="EmployeeAddress"
* target-role-name="addrBelongEmp"
* @jboss.relation
* fk-constraint="true"
* related-pk-field="employeeID"
I'm new to EJB development, particularly using XDoclet. What I would like is to implement a simple demo application, an employee address book. I'm using JBoss 3.2.2 with Eclipse 2.1.1 as my IDE. Also, I used the Lomboz plugin to do the initial bean development. I have the latest XDoclet install
I just upgraded from 1.1 to 1.2b3 and noticed that definitions placed in superclasses
are no longer inherited by subclasses.
For example, my AbstractEJB class defines a common DataSource for all my objects...
* @ejb.resource-ref
* res-name = "jdbc/DataSource"
* res-type = "javax.sql.DataS
Hello!
Prompt please how to describe attributes xdoclet in the following situation:
/**
* @ejb.bean
* name = "AccessSubject"
* type = "CMP"
* cmp-version = "2.x"
* schema = "accessSubject"
* primkey-field = "id"
*
* @ejb.persistence
* table-name = "access_subject"
*/
public abstract class Access