You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by abhay bhavsar <ab...@nsc.com> on 2003/03/05 01:56:49 UTC

[OJB] Issue #OJB139 - auto-retrieve and refresh does not help retrieve a reference...

You can view the issue detail at the following URL:
<http://scarab.werken.com/scarab/issues/id/OJB139>

Type :        Defect
Issue Id :    OJB139
Reported by: abhay bhavsar
             abhaybhavsar - (abhay.bhavsar@nsc.com)

Details:

Platform: PC
Operating system: windows 2000
Summary: auto-retrieve and refresh does not help retrieve a referenced object refereced using the reference-descriptor
Description: auto-retrieve and refresh does not help retrieve a referenced object referenced using the reference-descriptor.
I was able to auto retrieve while using the manager.newQuery & execute method.
But while using manager.getObjectById() the child object is set to null.
Status: New
Priority: High
Vote: High
Severity: Critical
Functional area: UI


Re: [OJB] Issue #OJB139 - auto-retrieve and refresh does not help retrieve a reference...

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi abhay,

is this issue still open ?

jakob

Jakob Braeuchi wrote:

> hi abhay ,
>
> refresh is used to reload relationships of already cached objects.
> if you call broker.getObjectByIdentity for the first time the 
> references will be retrieved automatically if set to 'true'. further 
> calls to broker.getObjectByIdentity will only read the references when 
> refresh is true.
>
> hth
> jakob
>
> abhay bhavsar wrote:
>
>> You can view the issue detail at the following URL:
>> <http://scarab.werken.com/scarab/issues/id/OJB139>
>>
>> Type :        Defect
>> Issue Id :    OJB139
>> Reported by: abhay bhavsar
>>             abhaybhavsar - (abhay.bhavsar@nsc.com)
>>
>> Details:
>>
>> Platform: PC
>> Operating system: windows 2000
>> Summary: auto-retrieve and refresh does not help retrieve a 
>> referenced object refereced using the reference-descriptor
>> Description: auto-retrieve and refresh does not help retrieve a 
>> referenced object referenced using the reference-descriptor.
>> I was able to auto retrieve while using the manager.newQuery & 
>> execute method.
>> But while using manager.getObjectById() the child object is set to null.
>> Status: New
>> Priority: High
>> Vote: High
>> Severity: Critical
>> Functional area: UI
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
>>  
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>


Re: [OJB] Issue #OJB139 - auto-retrieve and refresh does not help retrieve a reference...

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi abhay ,

refresh is used to reload relationships of already cached objects.
if you call broker.getObjectByIdentity for the first time the references 
will be retrieved automatically if set to 'true'. further calls 
to broker.getObjectByIdentity will only read the references when refresh 
is true.

hth
jakob

abhay bhavsar wrote:

>You can view the issue detail at the following URL:
><http://scarab.werken.com/scarab/issues/id/OJB139>
>
>Type :        Defect
>Issue Id :    OJB139
>Reported by: abhay bhavsar
>             abhaybhavsar - (abhay.bhavsar@nsc.com)
>
>Details:
>
>Platform: PC
>Operating system: windows 2000
>Summary: auto-retrieve and refresh does not help retrieve a referenced object refereced using the reference-descriptor
>Description: auto-retrieve and refresh does not help retrieve a referenced object referenced using the reference-descriptor.
>I was able to auto retrieve while using the manager.newQuery & execute method.
>But while using manager.getObjectById() the child object is set to null.
>Status: New
>Priority: High
>Vote: High
>Severity: Critical
>Functional area: UI
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
>  
>