GithubHelp home page GithubHelp logo

sheephe66 / mybatis3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jjnian/mybatis3

0.0 0.0 0.0 1.86 MB

mybatis3的源码学习

Shell 0.06% Java 98.44% Groovy 0.36% Kotlin 0.17% CSS 0.65% PLpgSQL 0.13% FreeMarker 0.05% TSQL 0.13%

mybatis3's Introduction

Mybatis相关源码

1.介绍

本项目整合Mybatis、mybatis-spring、mybatis-spring-boot-start源码到一个工程里,方便学习阅读。 会把自己阅读源码做的记录不定时更新到该项目中。

2.模块介绍

  • mybatis-3(Mybatis源码)
  • spring(mybatis-spring源码)
  • spring-boot-starter(spring-boot-starter源码)
  • test(简单测试源码)
  • test-project(使用源码搭建的测试源码)

3.mybatis增强

在mybatis配置文件中使用如下方式加载mapper文件

 <mappers>
    <package name="cn.clean.mapper"/>
</mappers>

默认情况下只会去mapper类的同一文件夹下加载对应的XML文件,添加了可以去resources下的mybatis文件夹下加载的功能

mybatis3's People

Contributors

jjnian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.