diff --git a/README.md b/README.md
index ece74ea0..9ec64e75 100644
--- a/README.md
+++ b/README.md
@@ -77,9 +77,6 @@ Eclipse or IntelliJ IDEA中启动, 找到```com.zzg.mybatis.generator.MainUI```
### 赞助
本工具纯属个人业余时间开发与维护,如果你觉得软件对你有用,欢迎赞助,金额随意 :)
-
-
-
- - -
Licensed under the Apache 2.0 License
diff --git a/pom.xml b/pom.xml
index ad0e08be..0758df30 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,6 +58,11 @@
junit
4.12
+
+ org.slf4j
+ slf4j-api
+ 1.7.25
+
diff --git a/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java b/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java
index 72f25055..4a8c2901 100644
--- a/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java
+++ b/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java
@@ -136,7 +136,6 @@ public void generate() throws Exception {
}
JDBCConnectionConfiguration jdbcConfig = new JDBCConnectionConfiguration();
- // http://www.mybatis.org/generator/usage/mysql.html
if (DbType.MySQL.name().equals(dbType) || DbType.MySQL_8.name().equals(dbType)) {
jdbcConfig.addProperty("nullCatalogMeansCurrent", "true");
}
@@ -144,6 +143,9 @@ public void generate() throws Exception {
jdbcConfig.setConnectionURL(DbUtil.getConnectionUrlWithSchema(selectedDatabaseConfig));
jdbcConfig.setUserId(selectedDatabaseConfig.getUsername());
jdbcConfig.setPassword(selectedDatabaseConfig.getPassword());
+ if(DbType.Oracle.name().equals(dbType)){
+ jdbcConfig.getProperties().setProperty("remarksReporting", "true");
+ }
// java model
JavaModelGeneratorConfiguration modelConfig = new JavaModelGeneratorConfiguration();
modelConfig.setTargetPackage(generatorConfig.getModelPackage());