Re: WebObjects application instances hanging - Deadlocks occurring
Re: WebObjects application instances hanging - Deadlocks occurring
- Subject: Re: WebObjects application instances hanging - Deadlocks occurring
- From: Raghavender Reddy <email@hidden>
- Date: Mon, 24 Nov 2014 22:49:39 +0530
Hello Chuck,
Thanks for the reply.
The following code should resolve this issue:
------------------------------------------------------------
public NSDictionary primaryKeyDictionary()
{
EOEditingContext ec = editingContext();
ec.lock();
try
{
return EOUtilities.primaryKeyForObject(ec, this);
}
catch(Exception e){
NSLog.out.appendln("EXCETION : " + e.getMessage());
}
finally
{
ec.unlock();
}
return null;
}
------------------------------------------------------------
Regards,
Raghu.
_______________________________________________
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