You right triathlon98, the field is target-role-name in @ejb.relation
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831202#3831202
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831202
---
No this is not a Xdoclet problem. You have to define the "other-side". See the xdoclet
docs for the correct names.
I had this working, but don't have an example handy.
Joachim
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831195#3831195
Reply to the post :
Hi,
What you want to do is possible and correct regarding the ejb spec. But XDoclet is
bugged and do not allow a relationship declaration without the associated methods.
When you do that, XDoclet forget to put a tag in
ejb-jar.xml, and in jbosscmp-jdbc.xml, the tag exists but is empty.
So, yo
"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 = "Pa
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"