Hi,

When using the @ejb.value-object tag for a 1:1
relationship, I get an error from Xdoclet telling me
it can't find the specified Value class.

The relation is between a Lesson and the Room it is
teached.
In the TaskBean, I have the following :

<code>
/**
 * @ejb.relation
 *  name="Lesson-Room"
 *  role-name="Lesson-runned-Room"
 * 
target-ejb="org.TechAdvantage.intranet.ejb.cmp.Room"
 *  target-role-name="Room-hosts-Lesson"
 * @ejb.value-object
 * 
aggregate="org.TechAdvantage.intranet.ejb.cmp.RoomValue"
 *  aggregate-name="Room"
 *  members="org.TechAdvantage.intranet.ejb.cmp.Room"
 *  members-name="Room"
 *  relation="external"
 */
    public abstract RoomValue getRoom();
    public abstract void setRoom(RoomValue aRoom);
</code>

but xdoclet says RoomValue hasn't been generated yet
and stops.

Is the 1:1 relationship only available using
local/remote interface ?

thanks,
ionel

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to