"from Person as p where p.name like ?","%"+name+"%"
<bean id="popupService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="target" ref="popupServiceTarget"></property>
<property name="transactionManager" ref="transactionManager"></property>
<property name="transactionAttributes">
<props>
<prop key="get*">PROPOGATION_REQUIRED,readOnly</prop>
<prop key="*">PROPOGATION_REQUIRED</prop>
</props>
</property>
</bean>
posted on 2011-09-22 18:06
長(zhǎng)春語(yǔ)林科技 閱讀(185)
評(píng)論(0) 編輯 收藏 所屬分類(lèi):
spring