沙漠中的魚(yú)

          欲上天堂,先下地獄
          posts - 0, comments - 56, trackbacks - 0, articles - 119
            BlogJava :: 首頁(yè) ::  :: 聯(lián)系 :: 聚合  :: 管理
          <!--Hibernate事務(wù)管理配置--> 
            
          <bean id="hibernateTransactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> 
              
          <property name="sessionFactory"> 
                
          <ref local="sessionFactory"/> 
              
          </property> 
            
          </bean> 
            
          <bean id="hibernateTransactionProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean" abstract="true"> 
                
          <property name="transactionManager" ref="hibernateTransactionManager" /> 
              
          <property name="transactionAttributes"> 
                  
          <props> 
                      
          <prop key="find*">PROPAGATION_REQUIRED,readOnly </prop> 
                      
          <prop key="create*">PROPAGATION_REQUIRED,-Exception </prop> 
                      
          <prop key="delete*">PROPAGATION_REQUIRED,-Exception </prop> 
                      
          <prop key="update*">PROPAGATION_REQUIRED,-Exception </prop> 
                      
          <prop key="save*">PROPAGATION_REQUIRED,-Exception </prop> 
                      
          <prop key="dispatch*">PROPAGATION_REQUIRED </prop> 
                      
          <prop key="receive*">PROPAGATION_REQUIRED </prop> 
                      
          <prop key="revert*">PROPAGATION_REQUIRED </prop> 
                      
          <prop key="*create">PROPAGATION_REQUIRED,-Exception </prop> 
                  
          </props> 
              
          </property> 
              
          </bean> 

          <!-- /采價(jià)任務(wù)執(zhí)行情況    事務(wù)在service層/ --> 
          <bean id="pcExecuteTaskService" parent="hibernateTransactionProxy"> 
          <property name="target"> 
          <bean class="com.zdvictory.wjj.pricegather.service.PcExecuteTaskServiceImpl"> 
          <property name="pcExecuteTaskDao"> <ref bean="pcExecuteTaskDao" /> </property> 
          <property name="pcTaskInfoDao"> <ref bean="pcTaskInfoDao" /> </property> 
          <property name="pcCollectionPlaceDao"> <ref bean="pcCollectionPlaceDao" /> </property> 
          <property name="pcMerchandiseInfoDao"> <ref bean="pcMerchandiseInfoDao" /> </property> 
          <property name="pcParticularTargetDao"> <ref bean="pcParticularTargetDao" /> </property> 
          <property name="pcColParticularinfoDao"> <ref bean="pcColParticularinfoDao" /> </property> 
          <property name="priceGuideLineDao"> <ref bean="priceGuideLineDao"/> </property> 
          <property name="pcMerchandIsClassDao"> <ref bean="pcMerchandIsClassDao"/> </property> 
          <property name="logsDao"> <ref bean="logsDao"/> </property> 
          </bean> 
          </property> 
          </bean> 
          主站蜘蛛池模板: 凉山| 洪泽县| 吉安县| 灌阳县| 延寿县| 黔西| 平定县| 吴堡县| 广元市| 朔州市| 永州市| 嘉义市| 泰安市| 安宁市| 寻乌县| 丹江口市| 汉中市| 林口县| 卢氏县| 洛隆县| 申扎县| 类乌齐县| 林甸县| 盐城市| 云安县| 仁化县| 治多县| 陆河县| 攀枝花市| 达日县| 施秉县| 五莲县| 宁晋县| 庄河市| 连山| 确山县| 石景山区| 广宁县| 运城市| 即墨市| 迁西县|