"sesques" wrote : You must declare the relationship on both sides: | Your forgot the declaration in your Party bean, something like : | | | | /** | | * @ejb.relation | | * name = "PersonParty" | | * role-name = "PartyHavePerson" | | * target-ejb = "Person" | | | |
Thanks for the reply. I thought it was possible for a CMP bean to have a uni-directional relationship to another CMP bean? (Although the documentation for how to do this in XDoclet is not very good.) Ideally, I'd like to not have a method in PartyBean that exposes the relationship to Person. Does that imply that I should put the @ejb.relation in on an abstract method, but not provide an @ejb.interface-method tag? Thanks. Troy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830957#3830957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830957 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
