mybatis批量生成
使用了mybatis-generator后,寻找只写一个table标签就可以全部生成的方法
发现tableName可以是sql通配符,这就好办了,%就可以批量生成
The name of the database table (not including the schema or catalog). The specified value can contain SQL wildcards if so desired.
<table schema="" tableName="%" enableCountByExample="false"enableUpdateByExample="false" enableDeleteByExample="false"enableSelectByExample="false" selectByExampleQueryId="false">

发现还是看官方文档收获大
附件列表


浙公网安备 33010602011771号