I see the new support for projectionAttributes in oql-ojb.g that generates pb report 
queries.
Got an example to work.

I see OQLQueryImpl.execute calling performLockingIfRequired but only for collection 
queries.

Is there a way to coordinate report queries with odmg locking?

Perhaps by

  (1) getting the LockMap from the LockMapFactory
  (2) retrieving the id in the report query
  (3) creating a temp object of the corresponding persistent class with just the id
  (4) caling LockMap.getWriter passing in the temp object
  (5) if null is returned then object is not write locked?

This seems to work.

Thanks in advance,
Mark




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

Reply via email to