Uses of Interface
org.springframework.dao.support.PersistenceExceptionTranslator
Packages that use PersistenceExceptionTranslator Package Description org.springframework.dao.annotation Annotation support for DAOs.org.springframework.dao.support Support classes for DAO implementations, providing miscellaneous utility methods.org.springframework.orm.hibernate5 Package providing integration of Hibernate 5.x with Spring concepts.org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts.org.springframework.orm.jpa.vendor Support classes for adapting to specific JPA vendors.Uses of PersistenceExceptionTranslator in org.springframework.dao.annotation
Constructors in org.springframework.dao.annotation with parameters of type PersistenceExceptionTranslator Constructor Description PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator persistenceExceptionTranslator, Class<? extends Annotation> repositoryAnnotationType)Create a new PersistenceExceptionTranslationAdvisor.Uses of PersistenceExceptionTranslator in org.springframework.dao.support
Classes in org.springframework.dao.support that implement PersistenceExceptionTranslator Modifier and Type Class Description classChainedPersistenceExceptionTranslatorImplementation ofPersistenceExceptionTranslatorthat supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order.Methods in org.springframework.dao.support that return PersistenceExceptionTranslator Modifier and Type Method Description protected PersistenceExceptionTranslatorPersistenceExceptionTranslationInterceptor. detectPersistenceExceptionTranslators(ListableBeanFactory bf)Detect all PersistenceExceptionTranslators in the given BeanFactory.PersistenceExceptionTranslator[]ChainedPersistenceExceptionTranslator. getDelegates()Return all registered PersistenceExceptionTranslator delegates (as array).Methods in org.springframework.dao.support with parameters of type PersistenceExceptionTranslator Modifier and Type Method Description voidChainedPersistenceExceptionTranslator. addDelegate(PersistenceExceptionTranslator pet)Add a PersistenceExceptionTranslator to the chained delegate list.voidPersistenceExceptionTranslationInterceptor. setPersistenceExceptionTranslator(PersistenceExceptionTranslator pet)Specify the PersistenceExceptionTranslator to use.static RuntimeExceptionDataAccessUtils. translateIfNecessary(RuntimeException rawException, PersistenceExceptionTranslator pet)Return a translated exception if this is appropriate, otherwise return the given exception as-is.Constructors in org.springframework.dao.support with parameters of type PersistenceExceptionTranslator Constructor Description PersistenceExceptionTranslationInterceptor(PersistenceExceptionTranslator pet)Create a new PersistenceExceptionTranslationInterceptor for the given PersistenceExceptionTranslator.Uses of PersistenceExceptionTranslator in org.springframework.orm.hibernate5
Classes in org.springframework.orm.hibernate5 that implement PersistenceExceptionTranslator Modifier and Type Class Description classHibernateExceptionTranslatorPersistenceExceptionTranslatorcapable of translatingHibernateExceptioninstances to Spring'sDataAccessExceptionhierarchy.classLocalSessionFactoryBeanFactoryBeanthat creates a HibernateSessionFactory.Uses of PersistenceExceptionTranslator in org.springframework.orm.jpa
Subinterfaces of PersistenceExceptionTranslator in org.springframework.orm.jpa Modifier and Type Interface Description interfaceJpaDialectSPI strategy that encapsulates certain functionality that standard JPA 2.1 does not offer, such as access to the underlying JDBC Connection.Classes in org.springframework.orm.jpa that implement PersistenceExceptionTranslator Modifier and Type Class Description classAbstractEntityManagerFactoryBeanAbstractFactoryBeanthat creates a local JPAEntityManagerFactoryinstance within a Spring application context.classDefaultJpaDialectDefault implementation of theJpaDialectinterface.classLocalContainerEntityManagerFactoryBeanFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard container bootstrap contract.classLocalEntityManagerFactoryBeanFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard standalone bootstrap contract.Uses of PersistenceExceptionTranslator in org.springframework.orm.jpa.vendor
Classes in org.springframework.orm.jpa.vendor that implement PersistenceExceptionTranslator Modifier and Type Class Description classEclipseLinkJpaDialectJpaDialectimplementation for Eclipse Persistence Services (EclipseLink).classHibernateJpaDialectJpaDialectimplementation for Hibernate EntityManager.