Class TransactionSerializationProblemDetector
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.helpers.TransactionSerializationProblemDetector
-
public class TransactionSerializationProblemDetector extends Object
Methods detecting transaction serialization problems. Uses our database/SQL configuration and takes logger from owner class to log under better name.
-
-
Constructor Summary
Constructors Constructor Description TransactionSerializationProblemDetector(SqlRepositoryConfiguration configuration, Trace log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isExceptionRelatedToSerialization(Throwable ex)
boolean
isSerializationRelatedConstraintViolationException(org.hibernate.exception.ConstraintViolationException cve)
-
-
-
Constructor Detail
-
TransactionSerializationProblemDetector
public TransactionSerializationProblemDetector(SqlRepositoryConfiguration configuration, Trace log)
-
-
Method Detail
-
isExceptionRelatedToSerialization
public boolean isExceptionRelatedToSerialization(Throwable ex)
-
isSerializationRelatedConstraintViolationException
public boolean isSerializationRelatedConstraintViolationException(org.hibernate.exception.ConstraintViolationException cve)
-
-