mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
The Node Browser in the UI can now navigate AVM stores.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -96,12 +96,16 @@ class HibernateRetryingTransactionHelper extends HibernateTemplate implements Re
|
||||
t.printStackTrace(System.err);
|
||||
throw new AVMException("Unrecoverable error.", t);
|
||||
}
|
||||
if (!status.isCompleted())
|
||||
if (newTxn && !status.isCompleted())
|
||||
{
|
||||
fTransactionManager.rollback(status);
|
||||
}
|
||||
if (!newTxn)
|
||||
{
|
||||
if (t instanceof AVMException)
|
||||
{
|
||||
throw (AVMException)t;
|
||||
}
|
||||
throw new AVMException("Unrecoverable error.", t);
|
||||
}
|
||||
// If we've lost a race or we've deadlocked, retry.
|
||||
|
Reference in New Issue
Block a user