Oracle BI Publisher(10g)中搜索参数的搜索列表(值列表)在查询不包含绑定变量(参数标识符)但在搜索列表的约束中引入绑定变量时正常工作查询,它不断搜索。
在菜单参数的值列表中使用绑定变量可以正常工作。
这是关于BI Publisher的问题,或者我该怎么做才能通过收听其他参数来刷新搜索列表?
编辑:搜索参数的LOV代码
select col1|| ' - ' || col2 as item
from table --search works on applying no filter
select col1|| ' - ' || col2 as item
from table
where col3 = substr(:I_col3_param, 0, instr(:I_col3_param,'-')-2)) -- search doesn't work on applying this filter
第一个查询显然会返回大量数据,但其搜索时间小于第二个查询的搜索时间。因此,问题不应该是由于大量数据造成的。