:
|
|Objet : Re: Réf. : Re: My proxies do not make late binding
:
|
|Objet : Re: Réf. : Re: My proxies do not make late binding
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.
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
: OJB Users List [EMAIL PROTECTED]
|
|cc :
|
|Objet : Re: My proxies do
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
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