Just try it out and see whjat you get in jbosscmp-jdbc.xml. It should generate the default jboss-relation-tags, i.e. implement the relations as Jboss would by default if you chose not to include jbosscmp-jdbc.xml in your distribution EJB jar. That is, default for one-to-one and one-to-many relationships would be foreign-key mapping and for many-to-many table mapping.
Bernie -----Ursprungliche Nachricht----- Von: Alex Loubyansky [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. April 2002 12:37 An: Meyer-Willner, Bernhard; [EMAIL PROTECTED] Betreff: RE: [Xdoclet-user] ejb:relation and jboss dd Sorry... Could you, please, explain what @jboss:auto-key-fields do? alex > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Wednesday, April 24, 2002 1:19 PM > To: [EMAIL PROTECTED] > Subject: AW: [Xdoclet-user] ejb:relation and jboss dd > > > USe @jboss.auto-key-fields and it should work fine > > -----Ursprungliche Nachricht----- > Von: Ingo Bruell [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 24. April 2002 12:12 > An: [EMAIL PROTECTED] > Betreff: [Xdoclet-user] ejb:relation and jboss dd > > > Hi, > > i am playin arround with the feature above and have not understand how > to get it work with jboss, however. > > But i saw in the dtd from jboss, that the <foreign-key-mapping/> is > optional and is used if a foreign key should be used. But if you want > use no foreign keys this tag should be omitted. > > I have found no way to ommit this tag and get it working with jboss. > > I am using xdoclet1.1.2 > > > so long > > > Ingo Bruell > > --- > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > <ICQ# 40377720> > Oldenburg PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C > 8FE7 C648 169E > E5FC > Germany PGP-Public-Key available at pgpkeys.mit.edu > > > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
