Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mybatis-generator-plugin
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mybatis-generator-plugin
Commits
20225dae
Commit
20225dae
authored
Jul 28, 2017
by
hewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
官方ConstructorBased配置BUG临时修正插件
parent
8223231d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
README.md
README.md
+13
-0
No files found.
README.md
View file @
20225dae
...
...
@@ -19,6 +19,7 @@
*
[
自定义注释插件(CommentPlugin)
](
#13-自定义注释插件
)
*
[
增量插件(IncrementsPlugin)
](
#14-增量插件
)
*
[
查询结果选择性返回插件(SelectSelectivePlugin)
](
#15-查询结果选择性返回插件
)
*
[
官方ConstructorBased配置BUG临时修正插件(ConstructorBasedBugFixPlugin)
](
#16-官方ConstructorBased配置BUG临时修正插件
)
---------------------------------------
Maven引用:
...
...
@@ -1049,3 +1050,15 @@ public class Test {
}
}
```
### 16. 官方ConstructorBased配置BUG临时修正插件
当javaModelGenerator配置constructorBased=true时,如果表中只有一个column类型为“blob”时java model没有生成BaseResultMap对应的构造函数,
这个bug已经反馈给官方
[
issues#267
](
https://github.com/mybatis/generator/issues/267
)
。
> 官方V1.3.6版本将解决这个bug,老版本的可以使用这个插件临时修正问题。
插件:
```
xml
<xml>
<!-- 官方ConstructorBased配置BUG临时修正插件 -->
<plugin
type=
"com.itfsw.mybatis.generator.plugins.ConstructorBasedBugFixPlugin"
/>
</xml>
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment