Skip to content

Commit b68454a

Browse files
committed
fix: unable to get oracle's table/column remarks(#21)
1 parent d0152c9 commit b68454a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/spawpaw/mybatis/generator/gui/util/MBGRunner.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ else if (projectConfig.defaultModelType.getValue().equalsIgnoreCase("FLAT"))
9090
jdbcConnectionConfiguration.addProperty("useInformationSchema", "true");//获取Mysql的表注释
9191
break;
9292
case Oracle:
93+
case Oracle_SID:
94+
case Oracle_ServiceName:
95+
case Oracle_TNSEntryString:
96+
case Oracle_TNSName:
9397
jdbcConnectionConfiguration.addProperty("remarksReporting", "true");//获取Oracle的表注释
9498
break;
9599
default:

0 commit comments

Comments
 (0)