[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]



Reply via email to