A very partial answer- in xdoclet cvs, I added a tag jboss:auto-key-fields that will prevent generation of <key-fields> in jbosscmp-jdbc.xml, since it usually does fine by itself and I couldn't get the generated ones to work. I think there is a foreign-key tag or something like it also. I still look at the templates to see what is going on. jboss beta or cvs might work better.
david jencks On 2002.03.07 03:05:31 -0500 [EMAIL PROTECTED] wrote: > Hi, > > the field mapping for CMR fields doesn't seem to work quite right. I have > a > unidirectional one-to-many relationship between two entity beans. On the > one > side I have the @jboss:target-relation tag in front of the appropriate > public Collection getBlabla() method and I always get <table-mapping> and > the tags belonging to that generated in the relationships section of > jbosscmp-jdbc.xml, although I want a <foreign-key-mapping>. How can I > specify that I get foreign-key-mapping. BTW, that's my preferred standard > mapping in standardjbosscmp-jdbc.xml. I use the current binary release of > XDoclet with JBoss 3 alpha and an Oracle 8i DB. > > Thanks if anybody has an idea. > > Bernhard > > > > _______________________________________________ > 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
