博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Mybatis 自动生成mapper文件
阅读量:3936 次
发布时间:2019-05-23

本文共 1059 字,大约阅读时间需要 3 分钟。

 

在pom.xml下的<build>内加入:

org.mybatis.generator
mybatis-generator-maven-plugin
1.3.7
${basedir}/src/main/resources/generatorConfig.xml
true
org.mariadb.jdbc
mariadb-java-client
2.3.0

 

generatorConfig.xml:文件

如果多个表把tableName="%" 改为百分号

 

posted @
2018-12-05 09:40 阅读(
...) 评论(
...)

转载地址:http://xthgn.baihongyu.com/

你可能感兴趣的文章
机器学习界大牛林达华推荐的书籍
查看>>
path变量备份
查看>>
Lesson2.2 & 2.3 Maya command reference & quick help
查看>>
lesson 2.4 - Converting MEL Commands to Python
查看>>
Lesson3.2 variables
查看>>
3.4.2 - Operators & 3.4.3 division and truncation
查看>>
3.6 - Maya Commands: setAttr
查看>>
3.7.1 - Strings
查看>>
3.7.4 - Indexing and Slicing Strings
查看>>
3.7.5 - Modifying Strings
查看>>
3.7.6 - String Methods
查看>>
3.8 - Using the Print Function
查看>>
3.9.1 - Lists in Python
查看>>
3.9.2 - Lists - Adding and Removing Objects
查看>>
3.9.3 - Sorting Lists
查看>>
3.10 - Maya Commands: ls
查看>>
3.11 - Dictionaries in Python
查看>>
3.12 - Tuples in Python
查看>>
4.4 - For Loops
查看>>
4.2.2 - Logical and/or Operators
查看>>