提交 38bedc0a 编写于 作者: E Evgeny Fradkin

#2640 ALL_QUEUES table is used instead of USER_QUEUES


Former-commit-id: d82e12bf
上级 8ded5a4c
......@@ -757,7 +757,8 @@ public class OracleSchema extends OracleGlobalObject implements DBSSchema, DBPRe
protected JDBCStatement prepareObjectsStatement(@NotNull JDBCSession session, @NotNull OracleSchema owner) throws SQLException
{
final JDBCPreparedStatement dbStat = session.prepareStatement(
"SELECT " + OracleUtils.getSysCatalogHint(owner.getDataSource()) + " * FROM SYS.USER_QUEUES ORDER BY NAME");
"SELECT " + OracleUtils.getSysCatalogHint(owner.getDataSource()) + " * FROM SYS.ALL_QUEUES WHERE OWNER=? ORDER BY NAME");
dbStat.setString(1, owner.getName());
return dbStat;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册