Hi I've got a question about the online faq 

In faq, it is said that we can query the persistenceBroker from an ODMG
Transaction using the criteria API, but the most important thing is to
lock in READ mode the objects that are the result of the query . 

I think this is not compatible with a class that have a
collection-descriptor with the proxy attribute set to true ... 

In fact when u lock in READ mode the object resulting of the Criteria
query, the ODMG transaction (using implicit locking) has to iterate over
object's collection and lock the contained objects. So if a colletion is
a proxy this will end up of retrieving the whole objects 

Am I ok? or missed something ? ...
I really want to use the proxy attribute, am I forced to change the way
I query the perisistenceBroker (using real OQL) ?


Thanx in advance .... 



-- 
Kevin Viet <[EMAIL PROTECTED]>
ActiVia Networks




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to