This seems that it would be a simple matter of tweaking the .xdt template to use the form you need. I haven't done that yet, but from what I have seen from other postings on the list you just yank out the .xdt, modify it, and put it back into the JAR.
David Harkness Sony Pictures Digital Networks (310) 482-4756 -----Original Message----- From: Andy Jefferson [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 2:56 AM To: [EMAIL PROTECTED] Subject: [Xdoclet-user] Re: jdodoclet : specification of extension tags > I'm trying to generate a JDO metadata file from a class. The JDO > implementation I'm trying to use (Triactive) allows the use of > extension tags (as do many other implementations) within the <field> > tag (as well as other places). > > Is there any way I can generate these using jdodoclet ? There is no > @jdo.extension tag in the documentation, though I've seen reference to > one on the website of Solarmetric's JDO implementation. I've found some *undocumented* tags of the form @jdo.field-vendor-extension @jdo.class-vendor-extension which seem to add the extension tags. The only problem is that they create XML of the form <extension vendor-name="..." key="..." value="..."> </extension> whereas Triactives' JDO baulks at this since it will only allow <extension vendor-name="..." key="..." value="..."/> !!! Yes, I know the error is in TJDO, but is there an XDoclet control to force the XML to be written like this ? > Second question : I have specified the table-name via @sql.table yet > this never appears in the generated JDO metadata file. Any reason why > ? I've seen no evidence that the @sql.field, @sql.table tags are actually used by JDODoclet ... nothing appears in the XML as a result of them. Is it a case of the documentation being wrong and there is another undocumented tag that I am supposed to use to name the DB table and columns ? -- Andy ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
