带参数存储过程调用
xler 2006-05-08 11:52:57 各位好:
目前碰到一个存储过程参数问题,(环境:oracle9i,java)
create or replace package BusVou as
--定义主单对象--
type bus_vou_record is record
(
.....
);
--定义明细单对象--
type vou_detail_record is record
(
...
);
--定义明细单数组--
type vou_detail_array is table of vou_detail_record index by binary_integer;
--定义存储过程--
procedure accountBusVou
(bus_vou_src in bus_vou_record ,vou_detail_src in vou_detail_array,
vou_detail_length in integer,result out string);
end BusVou;
现在要去调用包中的存储过程account(....),在pl-sql里面可以实现,因为
oracle 有record和table类型,但是如果外部调用,不知如何下手,谁对这方面
有经验,分享一下。