forked from lxm_tools/screw
✨ 解决Oracle连接用户和schema不同问题。dba连接用户可以生成不同schema下的表结构
This commit is contained in:
@@ -166,7 +166,6 @@ public class OracleDataBaseQuery extends AbstractDatabaseQuery {
|
||||
if (isDda()) {
|
||||
sql = "SELECT TABLE_NAME, COLUMN_NAME, COMMENTS AS REMARKS FROM DBA_COL_COMMENTS WHERE TABLE_NAME = '%s' AND OWNER = '"
|
||||
+ getSchema() + "'";
|
||||
;
|
||||
}
|
||||
resultSet = prepareStatement(String.format(sql, table)).executeQuery();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user