在Oracle数据库中建立package如下,在SQL PLUS中运行该function,可以得到正确结果,在程序中调用该function,得到ORA-00900 invalid SQL statement,查过对应的解析,This error can occur if the Procedural Option is not installed and a SQL statement is issued that requires this option (for example, a CREATE PROCEDURE statement). 
请教各位大虾,如何设置这个Procedural Option?
Package Head: as
TYPE serarch_result IS REF CURSOR;
function area_search return serarch_result;
end;Package Body: as
function area_search
return serarch_result
is
C1 serarch_result;
beginOPEN C1 FOR select * from HR.test;return C1;
end;end;