[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
No. I haven't use bidirectional. If you are using bi-directionar, remember to remove "taget" doclet tags in both sides, and the relation-name must be equal in both sides. If I have an example working, I will let you know. Just wondering, what database engine are you using for persistence? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852030#3852030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852030 --- 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
[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
hi Pablo, have you used a bi-directional relationship in the same setup. i get deployment errors saying the key fields are not defined and i checked jbosscmp-jdbc.xml , they are not generated. uni-directional works fine. if u have an example, please reply thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851954#3851954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851954 --- 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
[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
No prob. Have had your same problem! Good luck. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851938#3851938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851938 --- 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
[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
Yes, I am implementing 1:m relationships. Do you think the tag is wrong? What does ejb-jar.xml says about your tag? Is it set correctly? Error you are getting seems to be caused by a wrong primary key setting. Am I right? No, partyTaxInformationId is defined as key in PartyTaxInformationEJB: Check the ejb-jar.xml PartyTaxInformation EJB PartyTaxInformationEJB py.com.roshka.wops4.party.taxInformation.interfaces.PartyTaxInformationEJBLocalHome py.com.roshka.wops4.party.taxInformation.interfaces.PartyTaxInformationEJBLocal py.com.roshka.wops4.party.taxInformation.ejb.PartyTaxInformationEJB Container java.lang.Integer False 2.x PartyTaxInformationEJB partyTaxInformationId taxAuthority taxPercent taxRegistrationNumber typeOfTaxRegistration partyTaxInformationId findAll --- Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851929#3851929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851929 --- 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
[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
thanks Pablo Javier Santa Cruz Cosp, i used ur example and it worked. even with target-mutliple = "yes" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851930#3851930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851930 --- 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
[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
One more question, is "partyId" defined as key in "PartyTaxInformationEJB" ? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851922#3851922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851922 --- 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
[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
Hi, in your example, target-multiple="no" and u are requesting for collection of TaxInformations? are u implementing 1:1 or 1:m relation here? can u send/post me your build scrpt where u generate this? thanks Sudhir here is mine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851921#3851921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851921 --- 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
[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo
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