From 20225dae8f7de8c6ff0d5ff7ae0224ccc90d5a64 Mon Sep 17 00:00:00 2001 From: hewei Date: Fri, 28 Jul 2017 14:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=98=E6=96=B9ConstructorBased=E9=85=8D?= =?UTF-8?q?=E7=BD=AEBUG=E4=B8=B4=E6=97=B6=E4=BF=AE=E6=AD=A3=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index f45f414..1e8324d 100644 --- a/README.md +++ b/README.md @@ -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 + + + + +``` \ No newline at end of file