06-06-07 06:11 AM
While I kind of see your point (but not fully yet), I don't think this is s=
omething that we should standardize, given that yours is the only implement=
ation that I've encountered with this funtionality. Thoughts? Can you exp=
ound on its use, please?=0A=0A----- Original Message ----=0AFrom: Christian=
Ernst <cernst@versant.com>=0ATo: Craig L Russell <Craig.Russell@sun.com>=
=0ACc: JDO Expert Group <jdo-experts-ext@sun.com>; Apache JDO project <jdo-=
dev@db.apache.org>=0ASent: Tuesday, June 5, 2007 8:50:00 PM=0ASubject: Re: =
Rename property PersistenceUnitName to Name=0A=0A=0ACraig L Russell wrote:=
=0A> It seems that we added PersistenceUnitName to the =0A> PersistenceMana=
gerFactory before completely understanding the usage, =0A> which primarily =
is to assign a name when configuring the PMF via =0A> jdoconfig.=0A>=0A> I =
now believe that the "PersistenceUnit" part of the property name is =0A> di=
stracting, and the real property name should be simply "Name". That =0A> is=
, PersistenceManagerFactories can have a Name property. The javadoc =0A> an=
d other documentation can call out that this name is the same as the =0A> P=
ersistenceUnit name in JPA, but I don't think that there is value in =0A> c=
alling it PersistenceUnitName.=0A>=0A> The implication is a change in the P=
ersistenceManagerFactory API and =0A> the jdoconfig xsd.=0A>=0A> Any commen=
ts?=0AThat sounds good.=0A=0AI would like again to introduce the idea that =
we also add such a name =0Aproperty to the=0APersistenceManager and that we=
add a getPersistenceManagerByName(String =0AaName)=0Ato the PersistenceMan=
agerFactory.=0A=0Acheers=0AChristian=0A=0A-- =0AChristian Ernst=0ASoftware =
Engineer=0A=0ATel: +49-40-60990 338=0AFax: +49-40-60990 113=0AEMail: cernst=
@versant.com=0A=0AVersant GmbH=0AWiesenkamp 22b=0A22359 Hamburg=0AGermany=
=0A=0AThink Outside the Grid!=0Ahttp://www.versant.com=0A=0AVersant GmbH is=
incorporated in Germany.=0ACompany registration number: HRB 54723, Amtsger=
icht Hamburg.=0ARegistered Office: Wiesenkamp 22b, 22359 Hamburg, Germany.=
=0AGesch=E4ftsf=FChrer: Jochen Witte
[ Post a follow-up to this message ]
|