java - datasource.xml配置文件求解

 mobiledu2502861763 发布于 2022-10-27 19:36

配置文件如下:


http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context-3.0.xsd
    http://www.springframework.org/schema/aop 
    http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
    http://www.springframework.org/schema/tx 
    http://www.springframework.org/schema/tx/spring-tx-3.0.xsd"
    default-autowire="byName">
    
        
        
    
    
                 
       
        
    
    
            
        
    
    
    
    
        
        
        
            
        
    
    
        
        
    
    

对上述配置文件的疑问点:


    
    
    

        
        
        
            
        
    

    
        
        
    

1.transactionManager这个配置了事务管理器,其中 这个标签中的配置,将boImpl.java中的每个方法封装成一个事务,如果有异常抛出,会执行事务的回滚,具体的关于这方面的知识,在哪儿可以找到?

1 个回答
  • 能读英文的话最好是去官网
    第一手的资料,准确详尽.

    2022-10-29 04:56 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有