The Spring Framework

## Uses of Interface
org.springframework.dao.support.PersistenceExceptionTranslator

Packages that use PersistenceExceptionTranslator
org.springframework.dao.annotation: Annotation support for DAOs.
org.springframework.dao.support: Support classes for DAO implementations, providing miscellaneous utility methods.
org.springframework.orm.hibernate3: Package providing integration of Hibernate3 with Spring concepts.
org.springframework.orm.hibernate3.annotation: Support package for the Hibernate3 Annotation add-on, which supports EJB3-compliant JDK 1.5+ annotations for mappings.
org.springframework.orm.jdo: Package providing integration of JDO (Java Date Objects) 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
`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
`class` `ChainedPersistenceExceptionTranslator` Implementation of PersistenceExceptionTranslator that supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order.

Methods in org.springframework.dao.support that return PersistenceExceptionTranslator
`protected PersistenceExceptionTranslator` `PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(ListableBeanFactory beanFactory)` 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
`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 input exception.

Constructors in org.springframework.dao.support with parameters of type PersistenceExceptionTranslator
`PersistenceExceptionTranslationInterceptor(PersistenceExceptionTranslator persistenceExceptionTranslator)` Create a new PersistenceExceptionTranslationInterceptor for the given PersistenceExceptionTranslator.

Uses of PersistenceExceptionTranslator in org.springframework.orm.hibernate3

Classes in org.springframework.orm.hibernate3 that implement PersistenceExceptionTranslator
`class` `AbstractSessionFactoryBean` Abstract `FactoryBean` that creates a Hibernate `SessionFactory` within a Spring application context, providing general infrastructure not related to Hibernate's specific configuration API.
`class` `LocalSessionFactoryBean` `FactoryBean` that creates a Hibernate `SessionFactory`.

Uses of PersistenceExceptionTranslator in org.springframework.orm.hibernate3.annotation

Classes in org.springframework.orm.hibernate3.annotation that implement PersistenceExceptionTranslator
`class` `AnnotationSessionFactoryBean` Subclass of Spring's standard LocalSessionFactoryBean for Hibernate3, supporting JDK 1.5+ annotation metadata for mappings.

Uses of PersistenceExceptionTranslator in org.springframework.orm.jdo

Classes in org.springframework.orm.jdo that implement PersistenceExceptionTranslator
`class` `DefaultJdoDialect` Default implementation of the `JdoDialect` interface.
`class` `LocalPersistenceManagerFactoryBean` `FactoryBean` that creates a JDO `PersistenceManagerFactory`.

Uses of PersistenceExceptionTranslator in org.springframework.orm.jpa

Subinterfaces of PersistenceExceptionTranslator in org.springframework.orm.jpa
`interface` `JpaDialect` SPI strategy that encapsulates certain functionality that standard JPA 1.0 does not offer, such as access to the underlying JDBC Connection.

Classes in org.springframework.orm.jpa that implement PersistenceExceptionTranslator
`class` `AbstractEntityManagerFactoryBean` Abstract `FactoryBean` that creates a local JPA `EntityManagerFactory` instance within a Spring application context.
`class` `DefaultJpaDialect` Default implementation of the `JpaDialect` interface.
`class` `LocalContainerEntityManagerFactoryBean` `FactoryBean` that creates a JPA `EntityManagerFactory` according to JPA's standard container bootstrap contract.
`class` `LocalEntityManagerFactoryBean` `FactoryBean` that creates a JPA `EntityManagerFactory` according to JPA's standard standalone bootstrap contract.

Methods in org.springframework.orm.jpa with parameters of type PersistenceExceptionTranslator
`static javax.persistence.EntityManager` `ExtendedEntityManagerCreator.createApplicationManagedEntityManager(javax.persistence.EntityManager rawEntityManager, EntityManagerPlusOperations plusOperations, PersistenceExceptionTranslator exceptionTranslator)` Create an EntityManager that can join transactions with the `joinTransaction()` method, but is not automatically managed by the container.
`static javax.persistence.EntityManager` `ExtendedEntityManagerCreator.createContainerManagedEntityManager(javax.persistence.EntityManager rawEntityManager, EntityManagerPlusOperations plusOperations, PersistenceExceptionTranslator exceptionTranslator)` Create an EntityManager that automatically joins transactions on each operation in a transaction.

Uses of PersistenceExceptionTranslator in org.springframework.orm.jpa.vendor

Classes in org.springframework.orm.jpa.vendor that implement PersistenceExceptionTranslator
`class` `EclipseLinkJpaDialect` `JpaDialect` implementation for Eclipse Persistence Services (EclipseLink).
`class` `HibernateJpaDialect` `JpaDialect` implementation for Hibernate EntityManager.
`class` `OpenJpaDialect` `JpaDialect` implementation for Apache OpenJPA.
`class` `TopLinkJpaDialect` `JpaDialect` implementation for Oracle TopLink Essentials.

The Spring Framework

Copyright © 2002-2008 The Spring Framework.