JdbcUtils.showTables support postgresql.

This commit is contained in:
wenshao
2017-08-10 15:27:58 +08:00
parent 52bb3da616
commit e693b08304
2 changed files with 27 additions and 0 deletions
@@ -793,6 +793,9 @@ public final class JdbcUtils implements JdbcConstants {
return OracleUtils.showTables(conn);
}
if (JdbcConstants.POSTGRESQL.equals(dbType)) {
return PGUtils.showTables(conn);
}
throw new SQLException("show tables dbType not support for " + dbType);
}