"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 
长春语林科技 阅读(193) 
评论(0)  编辑  收藏  所属分类: 
spring