Re: Re: Re: Re: My proxies do not make late binding

2004-06-14 Thread Stefano . Juri
: | |Objet : Re: Réf. : Re: My proxies do not make late binding

Re: My proxies do not make late binding

2004-06-14 Thread Brian McCallister
: | |Objet : Re: Réf. : Re: My proxies do not make late binding

My proxies do not make late binding

2004-06-11 Thread Stefano . Juri
Hello, I have a problem : even if I define proxy for a connection, OJB reads the linked objects immediately. Explanation : I have a class Dossier, wich is the entry point of my application. This class is mapped to a DB2 table called TMPDOSSIER. Each dossier has a collection of Prestation.

Re: My proxies do not make late binding

2004-06-11 Thread Thomas Dudziak
On Fri, 11 Jun 2004 [EMAIL PROTECTED] wrote: I have a problem : even if I define proxy for a connection, OJB reads the linked objects immediately. Explanation : I have a class Dossier, wich is the entry point of my application. This class is mapped to a DB2 table called TMPDOSSIER. Each

Réf. : Re: My proxies do not make late binding

2004-06-11 Thread Stefano . Juri
: OJB Users List [EMAIL PROTECTED] | |cc : | |Objet : Re: My proxies do

Re: Réf. : Re: My proxies do not make late binding

2004-06-11 Thread Thomas Dudziak
On Fri, 11 Jun 2004 [EMAIL PROTECTED] wrote: I looked at the URL you sent me, but I dont know enough the internals of OJB to understand the message. I went a little further : I tried to get the Persistence Broker from the transaction and to execute a good old OJB QueryByCriteria : the late

Re: Réf. : Re: My proxies do not make late binding

2004-06-11 Thread Brian McCallister
Assuming you are using ODMG... The problem was with the implicit locking mechanism in the ODMG implementation. It was not properly detecting collection proxies so it would iterate over the collection (loading it) and lock every object before even returning from the OQLQuery#execute() call. I