mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MOB-434: Cluster-wide Locking Service
- DAO and unit tests (MOB-436) - MySQL and Derby scripts (MOB-438) - TODO: Oracle, PostgreSQL and SQLServer for Enterprise - TOD0: Wrap lock wait and lock retry behaviour git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -54,6 +54,7 @@ import org.springframework.aop.framework.ProxyFactory;
|
||||
import org.springframework.dao.ConcurrencyFailureException;
|
||||
import org.springframework.dao.DataIntegrityViolationException;
|
||||
import org.springframework.dao.DeadlockLoserDataAccessException;
|
||||
import org.springframework.jdbc.JdbcUpdateAffectedIncorrectNumberOfRowsException;
|
||||
import org.springframework.jdbc.UncategorizedSQLException;
|
||||
|
||||
import com.ibatis.common.jdbc.exception.NestedSQLException;
|
||||
@@ -95,6 +96,7 @@ public class RetryingTransactionHelper
|
||||
ConcurrencyFailureException.class,
|
||||
DeadlockLoserDataAccessException.class,
|
||||
StaleObjectStateException.class,
|
||||
JdbcUpdateAffectedIncorrectNumberOfRowsException.class, // Similar to StaleObjectState
|
||||
LockAcquisitionException.class,
|
||||
ConstraintViolationException.class,
|
||||
UncategorizedSQLException.class,
|
||||
@@ -137,7 +139,7 @@ public class RetryingTransactionHelper
|
||||
|
||||
/**
|
||||
* Callback interface
|
||||
* @author britt
|
||||
* @author Derek Hulley
|
||||
*/
|
||||
public interface RetryingTransactionCallback<Result>
|
||||
{
|
||||
|
Reference in New Issue
Block a user