Re: lazy materialization problem

2005-04-29 Thread Maksimenko Alexander
I'm using 1.0.3 version and default (per broker) cache yes persistence broker wich fetch folder is different from that one wich materialize children. So to prevent this I need touch all objects in single persistence broker (long-lived caches dont feet me because I'm using web application with

RE: lazy materialization problem

2005-04-29 Thread Clute, Andrew
If I cauld say OJB prefetch parent and children reference in all folders wich I materizalize by this call it would be more productive I am slightly confused by this statement. Are you saying you want all the children to be materialized when the parent is created, thus populating all of

Re: lazy materialization problem

2005-04-29 Thread Maksimenko Alexander
Clute, Andrew wrote: If I cauld say OJB prefetch parent and children reference in all folders wich I materizalize by this call it would be more productive I am slightly confused by this statement. Are you saying you want all the children to be materialized when the parent is created, thus

RE: lazy materialization problem

2005-04-29 Thread Clute, Andrew
If I cauld say OJB prefetch parent and children reference in all folders wich I materizalize by this call it would be more productive I am slightly confused by this statement. Are you saying you want all the children to be materialized when the parent is created, thus

Re: lazy materialization problem

2005-04-29 Thread Maksimenko Alexander
Thanks Andrew! That's what I need ;) If I cauld say OJB prefetch parent and children reference in all folders wich I materizalize by this call it would be more productive I am slightly confused by this statement. Are you saying you want all the children to

Re: lazy materialization problem

2005-04-28 Thread Martin Kalén
Maksimenko Alexander wrote: I have tree like structure (with parent,children relationships). I'm using proxies to lazy materialize them. Everything works well but in particular cases I have to materialize the whole tree because folder.getChildren().get(0).getParent() is not the same as folder

Re: lazy materialization problem

2005-04-28 Thread Maksimenko Alexander
Martin Kalén wrote: Maksimenko Alexander wrote: I have tree like structure (with parent,children relationships). I'm using proxies to lazy materialize them. Everything works well but in particular cases I have to materialize the whole tree because folder.getChildren().get(0).getParent() is not

RE: lazy materialization problem

2005-04-28 Thread Clute, Andrew
' object happen in the same request as when the collection proxy is 'touched' and forced to be materialized? -Andrew -Original Message- From: Maksimenko Alexander [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 8:03 AM To: OJB Users List Subject: Re: lazy materialization

lazy materialization problem

2005-04-27 Thread Maksimenko Alexander
Hi! I have tree like structure (with parent,children relationships). I'm using proxies to lazy materialize them. Everything works well but in particular cases I have to materialize the whole tree because folder.getChildren().get(0).getParent() is not the same as folder and sometimes it makes