Skip to content

Commit 04a779a

Browse files
committed
支持oracle获取注释abel533#114
1 parent f118686 commit 04a779a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/tk/mybatis/mapper/generator/MapperPlugin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public void setContext(Context context) {
6464
commentCfg = new CommentGeneratorConfiguration();
6565
commentCfg.setConfigurationType(MapperCommentGenerator.class.getCanonicalName());
6666
context.setCommentGeneratorConfiguration(commentCfg);
67+
//支持oracle获取注释#114
68+
context.getJdbcConnectionConfiguration().addProperty("remarksReporting", "true");
6769
}
6870

6971
@Override

0 commit comments

Comments
 (0)