/MyBatis-XML-Spring-Boot

[MyBatis 3 with XML mapper + Spring Boot]

Primary LanguageJavaOtherNOASSERTION

MyBatis 3 + Spring Boot

MyBatis + Spring Boot banner

Sample project showing the integration of the MyBatis (Java persistence framework) with Spring Boot using XML mapper file. Unlike ORM frameworks, MyBatis does not map Java objects to database tables but Java methods to SQL statements.
MyBatis lets you use all your database functionality like stored procedures, views, queries of any complexity and vendor proprietary features. It is often a good choice for legacy or de-normalized databases or to obtain full control of SQL execution.

PRE-REQUISITES

  • Java SE Development Kit 8
  • Maven 3.0+

GETTING STARTED

Import the Maven project straight to your Java IDE:

  • Intellij IDEA
  • Spring Tool Suite (STS)
  • Eclipse

TECHNOLOGY STACK

  • Spring Boot
  • Spring MVC
  • MyBatis 3
  • Lombok

TEST

Test screen

License

Copyright 2018 Piotr Przechodzki

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.