Re: [Objectbridge-jdo-dev] jdo extension format
Brought to you by:
thma
From: Sebastian K. <seb...@mu...> - 2002-05-26 11:03:03
|
Hi Travis, On Sunday 26 May 2002 02:10, tr...@th... wrote: > So for consistency's sake, I propose the new names like so: > > <extension vendor-name="ojb" table-name="Product"/> > > <extension vendor-name="ojb" column-name="stock" jdbc-type="INTEGER"/> this won't be spec compliant as the DTD definition for extension is: <!ELEMENT extension (extension)*> <!ATTLIST extension vendor-name CDATA #REQUIRED> <!ATTLIST extension key CDATA #IMPLIED> <!ATTLIST extension value CDATA #IMPLIED> so, it would have to be more like this: <extension vendor-name="ojb" key="table-name" value="Product"/> Note, that you can nest extension-elements if this should be necessary to match more complex mapping-attributes. ciao Sebastian -- Sebastian Kanthak | seb...@mu... |