This example works for me with same configuration:
/**
* @ejb.relation
* name = "Party-PartyTaxInformation"
* role-name="Party-has-PartyTaxInformations"
* target-ejb="PartyTaxInformationEJB"
* target-role-name = "PartyTaxInformation-of-Party"
* target-cascade-delete = "yes"
* target-multiple = "no"
* @jboss.target-relation
* related-pk-field = "partyId"
* fk-column = "partyId"
* fk-constraint = "true"
*
* @ejb.interface-method view-type = "local"
*/
public abstract Collection getPartyTaxInformations();
/**
*
* @ejb.interface-method view-type = "local"
*/
public abstract void setPartyTaxInformations(Collection partyTaxInformations);
Hope this helps.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851919#3851919
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851919
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user