I would be interested to hear what everyone had to say about this.
 
thanks,
Brandon


From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ontariodiver
Sent: Tuesday, January 03, 2006 4:16 PM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Deadlocks and try/retry

Hi all,

I have a situation where it seems that deadlocks are not picked up by
catch. Any ideas? It looks similar to this

class 1:
Try
{
    method in class 2
}
catch (exception::deadlock)
{
    retry
}

class 2 method:
{
    step 1:insert sales lines into invoice
    step 2:update custom status field in new table
}

What is happening is Oracle reports a deadlock and processing stops
at step 1. I would have thought class 1 would catch the deadlock and
do a retry, but it doesn't. Do i have to do the try/retry in class 2
as well?

I am using Axapta 3.0 SP3.






Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.




YAHOO! GROUPS LINKS




Reply via email to