Hello,

I would like to know if it's possible using ODMG to set auto-update to
"false" for a reference.
Because in the documentation it's supposed to be set to "none". But "none"
seem's to be "true".

The issue is that i have a class Role that has a reference on a
DocumentBase, when i lock a Role for updating it, it also locks the
referenced
DocumentBase, and materialize all the proxied objects within DocumentBase to
try to write lock them, and i really don't want that has DocumentBase can be
big and it's association with Role is just to say that a Role is for this
DocumentBase, and also because it's throwing a LockNotGrantedExcetion.

One solution would be to store the pk of the DocumentBase in Role, but i
would like to know if it's possible by keeping a "weak" reference to
DocumentBase
 or not.

Thank you.

Jean-Yves

Reply via email to