Uses of Interface
org.springframework.dao.support.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.annotation
ModifierConstructorDescriptionPersistenceExceptionTranslationAdvisor
(PersistenceExceptionTranslator persistenceExceptionTranslator, Class<? extends Annotation> repositoryAnnotationType) Create a new PersistenceExceptionTranslationAdvisor. -
Uses of PersistenceExceptionTranslator in org.springframework.dao.support
Modifier and TypeClassDescriptionclass
Implementation ofPersistenceExceptionTranslator
that supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order.Modifier and TypeMethodDescriptionprotected PersistenceExceptionTranslator
PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators
(ListableBeanFactory bf) Detect all PersistenceExceptionTranslators in the given BeanFactory.final PersistenceExceptionTranslator[]
ChainedPersistenceExceptionTranslator.getDelegates()
Return all registered PersistenceExceptionTranslator delegates (as array).Modifier and TypeMethodDescriptionfinal void
ChainedPersistenceExceptionTranslator.addDelegate
(PersistenceExceptionTranslator pet) Add a PersistenceExceptionTranslator to the chained delegate list.void
PersistenceExceptionTranslationInterceptor.setPersistenceExceptionTranslator
(PersistenceExceptionTranslator pet) Specify the PersistenceExceptionTranslator to use.static RuntimeException
DataAccessUtils.translateIfNecessary
(RuntimeException rawException, PersistenceExceptionTranslator pet) Return a translated exception if this is appropriate, otherwise return the given exception as-is.ModifierConstructorDescriptionCreate a new PersistenceExceptionTranslationInterceptor for the given PersistenceExceptionTranslator. -
Uses of PersistenceExceptionTranslator in org.springframework.orm.hibernate5
Modifier and TypeClassDescriptionclass
PersistenceExceptionTranslator
capable of translatingHibernateException
instances to Spring'sDataAccessException
hierarchy.class
FactoryBean
that creates a HibernateSessionFactory
. -
Uses of PersistenceExceptionTranslator in org.springframework.orm.jpa
Modifier and TypeInterfaceDescriptioninterface
SPI strategy that encapsulates certain functionality that standard JPA 3.0 does not offer, such as access to the underlying JDBC Connection.Modifier and TypeClassDescriptionclass
AbstractFactoryBean
that creates a local JPAEntityManagerFactory
instance within a Spring application context.class
Default implementation of theJpaDialect
interface.class
FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard container bootstrap contract.class
FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard standalone bootstrap contract. -
Uses of PersistenceExceptionTranslator in org.springframework.orm.jpa.vendor
Modifier and TypeClassDescriptionclass
JpaDialect
implementation for Eclipse Persistence Services (EclipseLink).class
JpaDialect
implementation for Hibernate.