Create a new PersistenceExceptionTranslationAdvisor.
Parameters: persistenceExceptionTranslator - the PersistenceExceptionTranslator to use Parameters: repositoryAnnotationType - the annotation type to check for
Create a new PersistenceExceptionTranslationAdvisor.
Parameters: beanFactory - the ListableBeanFactory to obtaining allPersistenceExceptionTranslators from Parameters: repositoryAnnotationType - the annotation type to check for