?<bean id="transactionManager"
??class="org.springframework.orm.hibernate3.HibernateTransactionManager">
??<property name="sessionFactory">
???<ref local="sessionFactory" />
??</property>
?</bean>
<bean id="UserDAOProxy"
??class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
?<property name="proxyTargetClass">
???<value>true</value>
??</property>
??<property name="transactionManager">
???<ref bean="transactionManager" />
??</property>
??<property name="target">
???<ref local="UserDAO" />
??</property>
??<property name="transactionAttributes">
???<props>
????<prop key="*">PROPAGATION_REQUIRED</prop>
???</props>
??</property>
?</bean>
?
大盤預測
國富論
posted on 2008-11-17 10:50
華夢行 閱讀(227)
評論(0) 編輯 收藏