简介 目录 评价 推荐
  • 魔都小码农 2022-10-29

    cache

    0赞 · 0采集
  • WE_Xing 2021-08-17

    MyBatis


    0赞 · 0采集
  • weixin_慕标0368495 2021-06-07

    http://img.mukewang.com/60bd7cb20001a66308220481.jpg

    11

    0赞 · 0采集
  • Mk仔 2020-08-06

    Test测试部分的代码

    截图
    0赞 · 0采集
  • Mk仔 2020-08-06

    init.sql数据库脚本

    可直接执行

    截图
    0赞 · 0采集
  • Mk仔 2020-08-06

    mapper.xml文件内容

    查询语句

    截图
    0赞 · 0采集
  • Mk仔 2020-08-06

    Mybatis.xml配置文件内容

    • 数据库的连接

    • 指定mappers配置

    截图
    0赞 · 0采集
  • Mk仔 2020-08-06

    pom.xml文件中有4个依赖。

    <dependencies>
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis</artifactId>
            <version>3.5.1</version>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.46</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    截图
    0赞 · 0采集
  • Mk仔 2020-08-06

    代码回顾

    流程图
    Mybatis的以及缓存确实存在,且始终开启。

    截图
    0赞 · 0采集
数据加载中...
开始学习 免费