Armin Waibel wrote:
Hi Bj�rn,

Bj�rn Voigt wrote:

Moin,

I am using ojb rc6 and I have a Problem with
auto-retrieve of and getCollection in PB Api.

I have an Class A with an Reference to Class B.
If I load a single Object of Class A by Query,
an instance of Class B is auto-retrieved.
(I configered it with [...]auto-retrieve="true"[...])

But if I try to load all with getCollectionByQuery there is
nothing auto-retrieved. The Class B attributes of A are null.


hmm, not sure what you are doing, but this should not happen. Do you change the auto-retrieve setting at runtime?

regards,
Armin


Is it possible to do this or not. How can I configure it, to
get it all.

Thank you

Bj�rn




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



no i dont change it on runtime, but
it is a littlebit more complex,
I am using inheritence.

A is the superclass of C,D. In mapping of
A I definded the reference to B . If I load
the single Object of Class C, I get B, but if
I load the whole Collection of all extending
Objects. The Objects dont holds a reference to B

Bj�rn


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



Reply via email to