hi phil,

i'm glad it helped.
for ODMG you'll have to ask some one else...

jakob

----- Original Message -----
From: "Phil Warrick" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 3:14 PM
Subject: Re: collection proxy and indirection table?


> Hi Jakob,
>
> Yes, that was it.  Thanks very much.  But although it works, I have to
> find out why it takes 4 minutes to retrieve 1 object (using ODMG)!
>
> Phil
>
> Jakob Braeuchi wrote:
>
> > hi phil,
> >
> > imho you should use auto-retrieve="true" then it will work.
> > i tested it with person<->project of the junit-testcases.
> >
> > hth
> > jakob
> >
> > ----- Original Message -----
> > From: "Phil Warrick" <[EMAIL PROTECTED]>
> > To: "OJB Users List" <[EMAIL PROTECTED]>
> > Sent: Thursday, August 29, 2002 7:34 AM
> > Subject: collection proxy and indirection table?
> >
> >
> >
> >>Hi,
> >>
> >>I don't see any junit examples where a collection proxy uses an
> >>indirection table.  Should the following be ok?  My test case never
> >>seems to load the children collection, even when its content is
> >>accessed: children is always null.
> >>
> >>    <class-descriptor
> >>      class="mond.phenomenon.ojbdb.DBPBranch"
> >>      table="PNODE_FLAT"
> >>    >
> >>...
> >>       <collection-descriptor
> >>          name="children"
> >>          element-class-ref="mond.phenomenon.ojbdb.DBPNode"
> >>          proxy="true"
> >>          auto-retrieve="false"
> >>          auto-update="false"
> >>          indirection-table="P_PARENT_CHILD"
> >>       >
> >>          <fk-pointing-to-this-class column="PARENT_ID"/>
> >>          <fk-pointing-to-element-class column="CHILD_ID"/>
> >>       </collection-descriptor>
> >>
> >>Thanks,
> >>
> >>Phil
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> >>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >>
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to