Go to file
Ariella 9e67ab025e 增加 postgreSQL 支持
增加 postgreSQL 支持
2023-01-29 14:34:59 +08:00
src/main Sub: Add XmlInsertOrUpdateOnConflictDoUpdatePlugin for PostgreSQL 2023-01-29 14:27:01 +08:00
.gitattributes upload weien config 2021-01-31 10:24:18 +08:00
.gitignore upload weien config 2021-01-31 10:24:18 +08:00
README.md Sub: Update mybatis-generator core to version 1.4 2021-05-29 12:38:53 +08:00
pom.xml Sub: Optimize Model 2023-01-21 09:05:22 +08:00

README.md

megabatis-generator

Introduction

Mybatis Generator is a code generator for Java DAO, which generates simple CRUD methods. But its code does not support complex SQL query, for example pagination. So a simple extension supporting pagination is developed.

Usage

  1. Configure database connection parameters in file megabatis-generator/datasource.properties;
  2. Edit file generatorConfig.xml, modify java model package and location;
  3. Modify java mapper xml files location;
  4. Modify generated java mapper model location;
  5. Modify target tables in your database;