Springmvc+mybatis learning notes (summary)

Time:2022-8-4

Springmvc+mybatis learning notes (summary)

Label: springmvc mybaits


[TOC]


The notes are divided into two parts: mybatis and springmvc

  • mybatis

  • springmvc

The notes mainly cover some basic concepts and usage methods of mybatis and springmvc, including concept introduction, environment construction, programming details, operation and debugging, etc.

This set of notes is generally introductory and applicable, suitable for quick start, and has not done much analysis on the underlying implementation and mechanism. I will study the spring source code later, and write a blog to share the learning gains, and then open a warehouse or post a blog link according to the situation.


github:

  • springmvc-mybatis-learning

  • git-clone:[email protected]:brianway/springmvc-mybatis-learning.git

If you think it’s good, please order a star on this warehouse first, this is also my affirmation and encouragement, thank you. Adjust and supplement from time to time. Please watch, star and fork if you need to pay attention to updates


catalogue

  • mybatis

    • Mybatis learning notes (1) – Summary of problems in native JDBC programs.md

    • Mybatis learning notes (2) -mybatis overview.md

    • Mybatis learning notes (3) – introductory program i.md

    • Mybatis learning notes (3) – introductory program ii.md

    • Mybatis learning notes (4) – develop Dao methods.md

    • Mybatis learning notes (5) – configuration file.md

    • Mybatis learning notes (6) – input mapping.md

    • Mybatis learning notes (7) – output mapping.md

    • Mybatis learning notes (8) – dynamic sql.md

    • Mybatis learning notes (9) – order item data model analysis.md

    • Mybatis learning notes (10) – one-to-one query.md

    • Mybatis learning notes (11) – one to many query.md

    • Mybatis learning notes (12) – many to many query.md

    • Mybatis learning notes (13) – delayed loading.md

    • Mybatis learning notes (14) – query cache first level cache.md

    • Mybatis learning notes (15) – L2 cache of query cache.md

    • Mybatis learning notes (16) -mybatis integration ehcache.md

    • Mybatis learning notes (17) -spring and mybatis integration.md

    • Mybatis learning notes (18) -mybatis reverse engineering.md

  • springmvc

    • Springmvc learning notes (1) – Framework principle and entry configuration.md

    • Springmvc learning notes (2) – non annotated processor mappers and adapters.md

    • Springmvc learning notes (3) – annotated processor mapper and adapter.Md

    • Springmvc learning notes (4) – front end controller.md

    • Springmvc learning notes (5) – Introduction Program summary.md

    • Springmvc learning notes (6) -springmvc integrates mybatis (built through Maven in idea).Md

    • Springmvc learning notes (7) -springmvc integrates mapper.md of mybatis

    • Springmvc learning notes (8) -springmvc integrates the service.md of mybatis

    • Springmvc learning notes (9) -springmvc integrates controller.md of mybatis

    • Springmvc learning notes (10) -product modification function of springmvc annotation development.md

    • Springmvc learning notes (11) – simple parameter binding for springmvc annotation development.Md

    • Springmvc learning notes (12) – packaging type parameter binding for springmvc annotation development.Md

    • Springmvc learning notes (13) -springmvc annotation development set type parameter binding.md

    • Springmvc learning notes (14) -springmvc verification.md

    • Springmvc learning notes (15) – data echo.md

    • Springmvc learning notes (16) – exception handler.md

    • Springmvc learning notes (17) – upload pictures.md

    • Springmvc learning notes (18) -json data interaction.md

    • Springmvc learning notes (19) -restful support.md

    • Springmvc learning notes (20) – interceptor.md

    • Springmvc learning notes (21) – Summary of problems encountered in integrating mybatis with springmvc and solutions.md

    • Springmvc learning notes (22) -springmvc development summary.md


Sourcecode description

Under this file is the source code involved, in which the mybatis part is a new web project directly, and the springmvc part is built using Maven.

The IDE I use is IntelliJ idea 15.0.2, and each of the following subfolders corresponds to a project.

  • Mybatis: the source code used in the first 16 notes of mybatis

  • Mybatis spring: the corresponding source code of some notes (17) of mybatis

  • Mybatis generator: source code of reverse engineering

  • Springmvcfirst: the source code of non annotation configuration corresponding to the first two notes of springmvc

  • Springmvcsecond: the source code of the annotation configuration corresponding to the previous notes of springmvc

  • learnssm-firstssm: core code, notes of springmvc and mybatis integration part, almost all source codes


Contact the author

  • Brian’s Personal Website

  • oschina

  • CSDN


All Copyright Reserved