MyException - 我的异常网
当前位置:我的异常网» 软件架构设计 » spring.data.jap调用接口时实际下做了些啥

spring.data.jap调用接口时实际下做了些啥

www.MyException.Cn  网友分享于:2013-02-20  浏览:22次
spring.data.jap调用接口时实际上做了些啥

通过AOP调用 org.springframework.data.jpa.repository.support.SimpleJpaRepository

AOP需要经过如下interceptor

[org.springframework.aop.interceptor.ExposeInvocationInterceptor, 

INSTANCE, (class org.springframework.data.jpa.repository.support.LockModeRepositoryPostProcessor$LockModePopulatingMethodIntercceptor)

org.springframework.dao.support.PersistenceExceptionTranslationInterceptor, 

org.springframework.transaction.interceptor.TransactionInterceptor, 

org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor, 

org.springframework.dao.support.PersistenceExceptionTranslationInterceptor]

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有