BeanNameAutoProxyCreator 不支持annotation的问题解决方法讨论

有人SpringSource的BBS上提出了问题,但没有人解决
http://forum.springsource.org/showthread.php?t=70355

spring事务配置
	<!-- 事务配置 -->
	<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
		<property name="sessionFactory" ref="sessionFactory" />
	</bean>
	
	<bean id="transationInterceptor" class="org.springframework.transaction.interceptor.TransactionInterceptor">
		<property name="transactionManager" ref="transactionManager" />
		<property name="transactionAttributes">
			<props>
				<prop key="save*">PROPAGATION_REQUIRED</prop>
				<prop key="update*">PROPAGATION_REQUIRED</prop>
				<prop key="delete*">PROPAGATION_REQUIRED</prop>
				<prop key="Save*">PROPAGATION_REQUIRED</prop>
				<prop key="merge*">PROPAGATION_REQUIRED</prop>
				<prop key="shield*" >PROPAGATION_REQUIRED</prop>
			</props>
		</property>

	</bean>

	<bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
		<property name="beanNames">
			<value>*ManagerImpl,*Dao,*Service,*ServiceImpl</value>
		</property>
		<property name="interceptorNames">
			<list>
				<value>transationInterceptor</value>
			</list>
		</property>
	</bean>



上面这样配置事务,在annotation中不启作用的.
解决办法正在查找中...

你可能感兴趣的:(DAO,spring,xml,Web,配置管理)