目录
目录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;
关于
121.0 KB
邀请码