Hi, > -----Urspr�ngliche Nachricht----- > Von: Abo [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 3. September 2002 12:21 > An: 'OJB Users List' > Betreff: Serialization: Vecor/ManagableVector > > > hi, > if i set my 1-n relations within my dataobject to > "auto-retrieve=true", > ojb build manageablevector instances for my java.util.Vector > variables. > > So, if send my dataobject to the client, the client has to know about > the ojb-classes. > I could convert my dataobject and all the manageablevectors to vectors > again, but isn't there an other solution? > No?
you can declare a collection-class attribute to specify the class to be used. > > Another question: > If i set "auto-retrieve=false" and want to get a 1-n relation later > (without lazy-loading and implementing an proxy), do i have to build a > complete query or does ojb can get the relation automatically? If you set "auto-retrieve=false" you have to implement your own loading mechanism. Thomas > Thanks > Andreas > > > > > > -- > 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]>
