AW: Re: [Objectbridge-jdo-dev] jdo extension format
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2002-05-27 08:03:02
|
Hi Christian, > -----Urspr=FCngliche Nachricht----- > Von: Christian Sell [mailto:nc-...@ne...] > Gesendet: Montag, 27. Mai 2002 09:45 > An: obj...@li... > Cc: obj...@li... > Betreff: RE: Re: [Objectbridge-jdo-dev] jdo extension format >=20 >=20 > >Doh! ;-) > > > >That's not very good. Although having it the way we=20 > specified shouldn't harm anything should it? =20 > > >=20 > It wouldnt harm anything except JDO compliance. But as far as=20 > I remember, that was the whole point, wasn't it?=20 That's a good point! We started this thread with "Take JDO serious and = use a *.jdo file as the single point of keeping metadata." If we take the JDO Spec serious me should stick 100% to the rules, everything else just makes no sense! =20 > What about=20 > the option of maintaining a separate file? >=20 That's my original suggestion. Maybe it was not that bad ? Thomas >=20 > >Be a pain to use the key/value pair when having an extension=20 > like this: > > > > <extension vendor-name=3D"ojb" > > platform=3D"hsqldb" > > jdbc-level=3D"2.0" > > driver=3D"org.hsqldb.jdbcDriver" > > protocol=3D"jdbc" > > subprotocol=3D"hsqldb" > > dbalias=3D"../OJB" > > username=3D"sa" > > password=3D"" > > /> > > > >Travis > > > >---- Original Message ---- > >From: Sebastian Kanthak <seb...@mu...> > >Sent: 2002-05-26 > >To: obj...@li... > >Subject: Re: [Objectbridge-jdo-dev] jdo extension format > > > >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=3D"ojb" table-name=3D"Product"/> > >> > >> <extension vendor-name=3D"ojb" column-name=3D"stock" jdbc- > type=3D"INTEGER"/> > > > >this won't be spec compliant as the DTD definition for=20 > 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=3D"ojb" key=3D"table-name"=20 > value=3D"Product"/> > > > >Note, that you can nest extension-elements if this should be=20 > necessary to=20 > >match more complex mapping-attributes. > > > >ciao Sebastian > > > >--=20 > >Sebastian Kanthak | seb...@mu... > > > >_____________________________________________________________ > __ > > > >Don't miss the 2002 Sprint PCS Application Developer's=20 > Conference > >August 25-28 in Las Vegas --=20 > http://devcon.sprintpcs.com/adp/index.cfm > > > >_______________________________________________ > >Objectbridge-jdo-dev mailing list > >Obj...@li... > >https://lists.sourceforge.net/lists/listinfo/objectbridge- > jdo-dev > > > > > > > >_____________________________________________________________ > __ > > > >Don't miss the 2002 Sprint PCS Application Developer's=20 > Conference > >August 25-28 in Las Vegas --=20 > http://devcon.sprintpcs.com/adp/index.cfm > > > >_______________________________________________ > >Objectbridge-jdo-dev mailing list > >Obj...@li... > >https://lists.sourceforge.net/lists/listinfo/objectbridge- > jdo-dev >=20 > _______________________________________________________________ >=20 > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- = http://devcon.sprintpcs.com/adp/index.cfm >=20 > _______________________________________________ > Objectbridge-jdo-dev mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-jdo-dev >=20 |