mybatis-generator
时间: 2023-10-11 09:09:07 浏览: 46
MyBatis-Generator is a code generation tool that generates MyBatis mapping files and Java classes from a database schema. It simplifies the development process by automatically generating the code that is required to interact with the database. MyBatis-Generator generates the following files:
1. Java classes: The Java classes that represent the tables in the database schema.
2. Mapper XML files: The mapping files that define how the Java classes interact with the database.
3. SQL map files: The SQL files that contain the SQL statements used by the mapper XML files.
MyBatis-Generator is highly configurable and can be customized to meet the specific needs of the project. It supports a wide range of databases, including MySQL, Oracle, SQL Server, and PostgreSQL. The tool can be executed from the command line or through an IDE plugin.