首页 > 数据库 > Oracle > 使用APEX中的一些问题及解决方法
下面讲一下在使用Application Express Advanced Tutorials时发现的问题:
1, 在8 How to Create a Stacked Bar Chart中,发现按照月份排列的第八个柱形会挪到最后一个月份去;
[@more@]
下面讲一下在使用Application Express Advanced Tutorials时发现的问题:
1, 在8 How to Create a Stacked Bar Chart中,发现按照月份排列的第八个柱形会挪到最后一个月份去;
原因是有个月份第一个序列的hardware的sale数字为零,手工在后台2个表中添加数字后解决。
2, 在9 How to Upload and Download Files in an Application中,发现Change the Download Link to Use the New Procedure后下载页面出现403 Forbidden报错。
原因是后台的程序无法直接在网页上调用。需要把这个程序加入dads.conf中PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize所允许运行的白名单上(指定函数名就叫wwv_flow_epg_include_mod_local)才能调用。以sys登录后:
alter session set current_schema=APEX_030200
/
CREATE OR REPLACE function wwv_flow_epg_include_mod_local(
procedure_name in varchar2
) return boolean
is
begin
if upper(procedure_name) in ('TEST.DOWNLOAD_MY_FILE') then
return TRUE;
else
return FALSE;
end if;
end wwv_flow_epg_include_mod_local;
/
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1513/viewspace-1031253/ ,如需转载,请注明出处,否则将追究法律责任。