Hi Jakob,

That's what I expected... The kicker is auto-retrieve, it should be set to
"true".

Cheers,
--Bill.

----- Original Message -----
From: "Jakob Braeuchi" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 1:19 AM
Subject: Re: retreiveReference usage


> hi bill,
>
> there's no need to use getReference(), simply call obj.getMyCollection().
> refresh is used to reload relationships of already cached objects.
>
> hth
> jakob
>
> V.B. Skrypnyk wrote:
>
> >When I call PersistenceBroker to retrieve an object by query and the
object
> >is defined
> >to have collection proxies, should I expect to find CollectionProxy or
> >ListProxy when
> >I call object.getMyCollection() or am I supposed to call
> >PersistenceBroker.retrieveReference()
> >first? It seems that my list fields are not primed with CollectionProxies
> >until I call retrieveReference
> >explicitely. I've tried it with and without refresh="true" setting. Is
this
> >the desired behaviour?
> >
> >--Bill.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to