栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

环境environment

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

环境environment

MySQL
jdbc:mysql://localhost:3306/test?user=root&password=&useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadonly=false


jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=utf8
mybatis



    
        
            
            
                
                
                
                
            
        
    
    
        
    

mybatis mapper.xml




    
        select * from mybatis.user
    
    
        select * from mybatis.user where id=#{id}
    
    
        insert into mybatis.user (id, NAME, pwd) values(#{id},#{NAME},#{pwd})
    

    
        insert into mybatis.user (id,name,pwd) values (#{mapId},#{mapName},#{mapPwd})
    
    
        update mybatis.user
        set NAME =#{NAME},pwd=#{pwd}
        where id=#{id};
    
    
        delete from mybatis.user where id=#{id}
    
Spring  ApplicationContext




Spring AOP

    
spring Ioc Aop

dependencies



    
        
            junit
            junit
            4.13
            test
        
        
            mysql
            mysql-connector-java
            8.0.26
        
        
            org.mybatis
            mybatis
            3.5.7
        
        
            org.springframework
            spring-webmvc
            5.2.0.RELEASE
        
        
            org.springframework
            spring-jdbc
            5.3.10
        
        
            org.aspectj
            aspectjweaver
            1.9.4
        
        
            org.mybatis
            mybatis-spring
            2.0.6
        
        
        
            org.projectlombok
            lombok
            1.18.20
            provided
        


    




        
            
                src/main/resource
                
                    ***.xml
                
                true
            
            
                src/main/java
                
                    ***.xml
                
                true
            
        
    











    
        spring
        org.example
        1.0-SNAPSHOT
    
    4.0.0

    spring-mabatis

    
        8
        8
    

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/285462.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号