I had some trouble a while ago when upgrading the jboss server.
This is my Order(afsta)/LineItem(afpos) example which works very well now:
        /**
         * @ejb.interface-method
         * @ejb.relation
         *       name="Afsta-Afpos"
         *       role-name="1-afsta-n-afpos"
         *       multiple="yes"
         *       target-multiple="no"
         *       target-ejb="Afpos"
         *       target-role-name="n-afpos-1-afsta"
         * @jboss.target-relation
         *       related-pk-field="afstaSerial"
         *       fk-column="afsta_serial"
         * @jboss.relation-read-ahead strategy="on-find"
         */
        public abstract java.util.Collection getAfpos();
        /**
         * @ejb.interface-method
         */
        public abstract void setAfpos(java.util.Collection afpos);

I use XDoclet-1.2.1 for generating the DDs.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843431#3843431

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843431


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to