Top Description Classes
module spring.tx

Package org.springframework.dao.annotation

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Annotation support for DAOs. Contains a bean post-processor for translating persistence exceptions based on a repository stereotype annotation.

Class Summary

Modifier and TypeClass and Description
public class
PersistenceExceptionTranslationAdvisor

Spring AOP exception translation aspect for use at Repository or DAO layer level.

public class
PersistenceExceptionTranslationPostProcessor

Bean post-processor that automatically applies persistence exception translation to any bean marked with Spring's @Repository annotation, adding a corresponding PersistenceExceptionTranslationAdvisor to the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all of the target's interfaces).