Database Context Locking
Database Context Locking
- Subject: Database Context Locking
- From: Andrew Lindesay <email@hidden>
- Date: Thu, 22 Mar 2007 12:38:04 +1200
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden