首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

spring事物配备之拦截器(带spring 带lob处理)

2012-08-22 
spring事物配置之拦截器(带spring 带lob处理)?xml version1.0 encodingutf-8?beans xmlnshttp:

spring事物配置之拦截器(带spring 带lob处理)

<?xml version="1.0" encoding="utf-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"xsi:schemaLocation=" http://www.springframework.org/schema/beans               http://www.springframework.org/schema/beans/spring-beans-2.5.xsd              http://www.springframework.org/schema/context              http://www.springframework.org/schema/context/spring-context-2.5.xsd              http://www.springframework.org/schema/aop              http://www.springframework.org/schema/aop/spring-aop-2.5.xsd              http://www.springframework.org/schema/tx              http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"><bean id="propertyConfigurer"/><bean id="lobHandler" /></property></bean><bean id="sqlMapClient" /></property><property name="lobHandler"><ref bean="lobHandler" /></property></bean><bean id="sqlMapClientTemplate" /></property></bean><!-- =====================================事务管理===================================== --><bean id="transactionManager"/></property></bean><bean id="transactionInterceptor"ref="transactionManager" /><property name="transactionAttributes"><props><prop key="insert*">PROPAGATION_REQUIRED</prop><prop key="add*">PROPAGATION_REQUIRED</prop><prop key="update*">PROPAGATION_REQUIRED</prop><prop key="edit*">PROPAGATION_REQUIRED</prop><prop key="delete*">PROPAGATION_REQUIRED</prop><prop key="remove*">PROPAGATION_REQUIRED</prop><prop key="select*">PROPAGATION_REQUIRED,readOnly</prop><prop key="query*">PROPAGATION_REQUIRED,readOnly</prop><prop key="trn*">PROPAGATION_REQUIRED</prop><prop key="rot*">PROPAGATION_REQUIRED,readOnly</prop></props></property></bean><bean id="autoProxyCreator"/></property></bean><!-- ===================================项目共用Bean配置========================================== --><bean id="seqDao" ref="sqlMapClientTemplate"></property></bean><bean id="seqService" ref="seqDao"></property></bean><!-- ===================================项目共用Bean配置========================================== --></beans>

热点排行