使用多方面搜索项进行多方面搜索时出现错误 ORA-00904
Error ORA-00904 while having Faceted Search With multiple facets search Items
我正在使用 APEX 21.1 并且在 运行 具有两个区域(分面搜索和经典报告)的页面时遇到以下错误:
页面错误:
Ajax call returned server error ORA-00904: "APPS"."HR_API": invalid identifier for .
调试错误:
APEX - Column Gender, referenced by facet P24_G, is not available or unauthorized. - Contact your application administrator. ORA-06512: at "APEX_210100.WWV_FLOW_ERROR", line 1370 ORA-06512: at "APEX_210100.WWV_FLOW_ERROR", line 1405
仅当我在分面搜索中添加多个分面项目时才会发生此错误。
任何人都可以告诉我这是不是错误吗?
请注意,我在经典报表中使用了来自不同架构的数据库视图。
此错误的解决方案,因为我在我的经典报告中使用不同架构中的数据库视图
甲骨文答案:
with views or objects in other schemas, it often helps to rewrite the
report query to use the MATERIALIZE hint, e.g. as follows:
with myquery as (
select /*+ MATERIALIZE */ {your query}
)
select * from myquery
我正在使用 APEX 21.1 并且在 运行 具有两个区域(分面搜索和经典报告)的页面时遇到以下错误:
页面错误:
Ajax call returned server error ORA-00904: "APPS"."HR_API": invalid identifier for .
调试错误:
APEX - Column Gender, referenced by facet P24_G, is not available or unauthorized. - Contact your application administrator. ORA-06512: at "APEX_210100.WWV_FLOW_ERROR", line 1370 ORA-06512: at "APEX_210100.WWV_FLOW_ERROR", line 1405
仅当我在分面搜索中添加多个分面项目时才会发生此错误。
任何人都可以告诉我这是不是错误吗?
请注意,我在经典报表中使用了来自不同架构的数据库视图。
此错误的解决方案,因为我在我的经典报告中使用不同架构中的数据库视图
甲骨文答案:
with views or objects in other schemas, it often helps to rewrite the report query to use the MATERIALIZE hint, e.g. as follows:
with myquery as (
select /*+ MATERIALIZE */ {your query}
)
select * from myquery