Hi All! I am attempting to create a value object for an object on the "1" side of the relationship.
Example: DEPT-has-many-EMPs and EMP-belongs-to-one-DEPT I want the the EmployeeVO to have a method with the following signature: public DepartmentVO getDepartment() However, the value-object generated is as follows public Department getDepartment() Here are the Xdoclet comments that I am using: =============================== /** * Get the department * * @ejb.interface-method * * @ejb.relation * name="employee-department" * role-name="employee-department:employee" * * @ejb.value-object * * @jboss.relation * fk-constraint = "true" * fk-column = "DEPARTMENT_FK" * related-pk-field = "id" * */ public abstract Department getDepartment(); ============================== TIA, Kunal ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user