Ok, I´ve just to rewrite all code with PB api, using Vector and
RemovalAwareCollection and it works!!!!

But, why do not DList and ODMW work? I´ve seen DListImplementatio source
code and I don´t recongnize any piece of code to call ODMG (PB) api..

jose Galiana

> [EMAIL PROTECTED] wrote:
>
>>Hi,
>>
>>I´ve must be really stupid but, after read tutorials, eMails, source
>>code... I´ve not be able to run my 1:m code.
>>
>>Two classes A and B, with A <--- B relation (1:m)
>>
>>public class A
>>{
>>   private int id;
>>   private DList listB;
>>   private String name;
>>
>>   public void A()
>>   {
>>      listB = new DListImpl()  <---- is this correct or must be use
>>OJB.getInstance().newDList()???
>>   }
>>}
>>
>>
>
> Do you rely on using DList? Or what about
>
>  /**
>   * @ojb.collection element-class-ref="B"
>   *                 foreignkey="idA"
>   *                 orderby="id"
>   */
>  private List listB = new Vector();
>
> --
> Christian
>
>
> ---------------------------------------------------------------------
> 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