com.github.zw201913:mysql-limit-page-plugin

file upload

License

License

Categories

Categories

MySQL Data Databases
GroupId

GroupId

com.github.zw201913
ArtifactId

ArtifactId

mysql-limit-page-plugin
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.zw201913:mysql-limit-page-plugin
file upload
Project URL

Project URL

https://github.com/zw201913/fileupload
Source Code Management

Source Code Management

https://github.com/zw201913/mysql-limit-page-plugin

Download mysql-limit-page-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.zw201913/mysql-limit-page-plugin/ -->
<dependency>
    <groupId>com.github.zw201913</groupId>
    <artifactId>mysql-limit-page-plugin</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zw201913/mysql-limit-page-plugin/
implementation 'com.github.zw201913:mysql-limit-page-plugin:1.0.1'
// https://jarcasting.com/artifacts/com.github.zw201913/mysql-limit-page-plugin/
implementation ("com.github.zw201913:mysql-limit-page-plugin:1.0.1")
'com.github.zw201913:mysql-limit-page-plugin:jar:1.0.1'
<dependency org="com.github.zw201913" name="mysql-limit-page-plugin" rev="1.0.1">
  <artifact name="mysql-limit-page-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zw201913', module='mysql-limit-page-plugin', version='1.0.1')
)
libraryDependencies += "com.github.zw201913" % "mysql-limit-page-plugin" % "1.0.1"
[com.github.zw201913/mysql-limit-page-plugin "1.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.mybatis.generator : mybatis-generator-core jar 1.3.5

Project Modules

There are no modules declared in this project.

mysql-limit-page-plugin

mybatis generator分页插件

第一步:把pom.xml中配置maven插件

<plugin>
    <groupId>org.mybatis.generator</groupId>
    <artifactId>mybatis-generator-maven-plugin</artifactId>
    <version>1.3.5</version>
    <configuration>
        <verbose>true</verbose>
        <overwrite>true</overwrite>
    </configuration>
    <dependencies>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.41</version>
        </dependency>
        <dependency>
            <groupId>com.github.zw201913</groupId>
            <artifactId>mysql-limit-page-plugin</artifactId>
            <version>1.0.1</version>
        </dependency>
     </dependencies>
 </plugin>

第二步:添加generatorConfig.xml配置文件

   1.下载或拷贝 https://github.com/zw201913/mysql-limit-page-plugin/tree/master/src/main/resources 里面的generatorConfig.xml配置文件

  2.将配置文件放在src/main/resources下面,名字要保持一致

  3.按照mybatis generator的规范修改里面的generatorConfig.xml,使配置文件符合自身项目的实际情况

  4.配置完毕后,使用maven命令  mybatis-generator:generate  即可自动生成mybatis分页代码

Versions

Version
1.0.1