db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: PATCH
Date Thu, 06 Feb 2003 21:40:45 GMT
hi david,

you better use ((HasBroker)tx).getBroker()

jakob


Jakob Braeuchi wrote:

> hi david,
>
> you can use ((TransactionImpl)tx).getBroker() in odmg if you have a 
> transaction.
>
> hth
> jakob
>
> David Warnock wrote:
>
>> Jakob,
>>
>>> i fixed the deprecated Identity constructor (except in odmg-package)
>>
>>
>>
>> Thanks. I had a look at the odmg-package and it looks pretty horrible 
>> to find a way to avoid the depreciated method there. Also the default 
>> in identity is to call the depreciated method itself if the broker is 
>> closed.
>>
>> So if it really should be depreciated then
>>
>> a) Shouldn't Identity not need to use the depreciated method itself.
>>
>> b) Shouldn't there be a simple way in odmg to get the broker as that 
>> seems to be required to get an Identity.
>>
>> Dave
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>


Mime
View raw message