Browse Source

jfinal 4.6

James 6 years ago
parent
commit
56bfb5680d

+ 1 - 1
src/main/java/com/jfinal/plugin/activerecord/generator/MetaBuilder.java

@@ -289,7 +289,7 @@ public class MetaBuilder {
 		if (generateRemarks) {
 			ResultSet colMetaRs = null;
 			try {
-				colMetaRs = dbMeta.getColumns(conn.getCatalog(), conn.getSchema(), tableMeta.name, null);
+				colMetaRs = dbMeta.getColumns(conn.getCatalog(), null, tableMeta.name, null);
 				while (colMetaRs.next()) {
 					ColumnMeta columnMeta = new ColumnMeta();
 					columnMeta.name = colMetaRs.getString("COLUMN_NAME");