Uses of Interface
org.springframework.dao.support.PersistenceExceptionTranslator
Packages that use PersistenceExceptionTranslator
Package
Description
Annotation support for DAOs.
Support classes for DAO implementations,
 providing miscellaneous utility methods.
Package providing integration of
 Hibernate 5.x
 with Spring concepts.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
Support classes for adapting to specific JPA vendors.
- 
Uses of PersistenceExceptionTranslator in org.springframework.dao.annotationConstructors in org.springframework.dao.annotation with parameters of type PersistenceExceptionTranslatorModifierConstructorDescriptionPersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator persistenceExceptionTranslator, Class<? extends Annotation> repositoryAnnotationType) Create a new PersistenceExceptionTranslationAdvisor.
- 
Uses of PersistenceExceptionTranslator in org.springframework.dao.supportClasses in org.springframework.dao.support that implement PersistenceExceptionTranslatorModifier and TypeClassDescriptionclassImplementation ofPersistenceExceptionTranslatorthat supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order.Methods in org.springframework.dao.support that return PersistenceExceptionTranslatorModifier and TypeMethodDescriptionprotected PersistenceExceptionTranslatorPersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(ListableBeanFactory bf) Detect all PersistenceExceptionTranslators in the given BeanFactory.final PersistenceExceptionTranslator[]ChainedPersistenceExceptionTranslator.getDelegates()Return all registered PersistenceExceptionTranslator delegates (as array).Methods in org.springframework.dao.support with parameters of type PersistenceExceptionTranslatorModifier and TypeMethodDescriptionfinal 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 PersistenceExceptionTranslatorModifierConstructorDescriptionCreate a new PersistenceExceptionTranslationInterceptor for the given PersistenceExceptionTranslator.
- 
Uses of PersistenceExceptionTranslator in org.springframework.orm.hibernate5Classes in org.springframework.orm.hibernate5 that implement PersistenceExceptionTranslatorModifier and TypeClassDescriptionclassPersistenceExceptionTranslatorcapable of translatingHibernateExceptioninstances to Spring'sDataAccessExceptionhierarchy.classFactoryBeanthat creates a HibernateSessionFactory.
- 
Uses of PersistenceExceptionTranslator in org.springframework.orm.jpaSubinterfaces of PersistenceExceptionTranslator in org.springframework.orm.jpaModifier and TypeInterfaceDescriptioninterfaceSPI strategy that encapsulates certain functionality that standard JPA 3.0 does not offer, such as access to the underlying JDBC Connection.Classes in org.springframework.orm.jpa that implement PersistenceExceptionTranslatorModifier and TypeClassDescriptionclassAbstractFactoryBeanthat creates a local JPAEntityManagerFactoryinstance within a Spring application context.classDefault implementation of theJpaDialectinterface.classFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard container bootstrap contract.classFactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard standalone bootstrap contract.
- 
Uses of PersistenceExceptionTranslator in org.springframework.orm.jpa.vendorClasses in org.springframework.orm.jpa.vendor that implement PersistenceExceptionTranslatorModifier and TypeClassDescriptionclassJpaDialectimplementation for Eclipse Persistence Services (EclipseLink).classJpaDialectimplementation for Hibernate.