Re: [Xdoclet-user] XDoclet and EJB with CMR -- Newbie

2003-11-06 Thread guo yingshou
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"

[Xdoclet-user] XDoclet and EJB with CMR -- Newbie

2003-11-06 Thread Steven Nakhla
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

[Xdoclet-user] 1.2b3 - superclass definitions no longer inherited?

2003-11-06 Thread Tim Dawson
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

[Xdoclet-user] Extends CMP EJB, Eclipse, XDoclet and JBoss

2003-11-06 Thread Andrei Moisseev
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