sudeen / spring-boot-mybatis-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-mybatis-example

Simple Spring boot app using Mybatis framework and mysql.

Create Database named "mybatisdb" with table Users in mysql.

Start the application and try two API which can be found in UserController class.

#What is MyBatis?

MyBatis is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. MyBatis eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. MyBatis can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.

MyBatis is free software that is distributed under the Apache License 2.0.

About


Languages

Language:Java 100.0%