Thank you, I managed to achieve what I wanted to by editing the "jbosscmp-jdbc_xml.xdt" file. I just added a <XDtMerge:merge file="jbosscmp-jdbc-entity-command-{0}.xml"> element so that I can specify individually whether I want to add the <entity-command name="YOUR_DB-fetch-key" /> element in the <entity> elements or not.
Gerrit. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Andrew > Stevens > Sent: Sunday, April 17, 2005 01:31 > To: xdoclet-user@lists.sourceforge.net > Subject: Re: [Xdoclet-user] Merging jbosscmp-jdbc-{0}.xml files > > > On Sat, 2005-04-16 at 14:11, Gerrit Grobbelaar wrote: > > Hi there, > > > > Is there anyway that when I have individual merge files for some of my > > beans, that the contents of the merging file does not completely > > override the default contents of the <entity> tag of those beans? > > > > Currently I do get the files to merge, but the only contents in the > > <entity> element is what is in the merge file, and all the default > > <cmp-field> are not there anymore. > > As I said in my reply to percy christian just last night (subject "how > to automatically merge jbosscmp-jdbc-{0}.xml files"), > >Many of the merge points are intended mainly to be used with classes > for > >which you don't have the source, so that you can still have settings > for > >them included in the generated files even though you can't add @tags to > >them. Consequently, they will contain *all* the settings for a bean or > >class. This merge point is probably one of those. > Take a look through the template > (http://cvs.sourceforge.net/viewcvs.py/xdoclet/xdoclet/modules/jbo > ss/src/xdoclet/modules/jboss/ejb/resources/jbosscmp-jdbc_xml.xdt?v > iew=markup) for the <XDTMerge:merge> tags and you should see > which elements will be replaced by the merge file and which can > still be specified by other means. > > > Andrew. > -- > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > xdoclet-user mailing list > xdoclet-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user