Hello;

If I'm doing something like this...

EODatabaseContext dbA = getDatabaseContextForEntity (rB.destinationEntity());
                                                        
dbA.lock();
                                                        
try
{
dbA.database().recordSnapshotForSourceGlobalID(null, gidA, rA.name ());
}
finally { dbA.unlock(); }

...is that the appropriate locking for this sort of action?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to