#OCCRetryCount
;
try
{
ttsbegin;
//example as insert or update or delete record
ttscommit;
}
catch(Exception::Deadlock)
{
retry;
}
catch (Exception::UpdateConflict)
{
if (appl.ttsLevel() == )
{
if (xSession::currentRetryCount() >= #RetryNum)
{
throw Exception::UpdateConflictNotRecovered;
}
else
{
retry;
}
}
else
{
throw Exception::UpdateConflict;
}
}
ax 中有try catch.