gpt4 book ai didi

oracle - PowerBuilder 不支持 Oracle 远程过程中的参数类型

转载 作者:搜寻专家 更新时间:2023-10-30 20:58:18 24 4
gpt4 key购买 nike

请帮帮我。我有存储过程

 message
(
out_error OUT INTEGER,
client_absid IN INTEGER,
document_subject IN VARCHAR,
document_text IN VARCHAR,
document_attachedfiles IN FILEINF_T,
p_client_abs IN VARCHAR
)

FILEINF_T AS OBJECT (
attachedfiles_name VARCHAR(255)
, attachedfiles_val BLOB      
)

我使用本地外部函数来调用它

 SUBROUTINE message ( ref long out_error, long client_absid, 
string document_subject,string document_text, readonly fileinf_t
document_attachedfiles[], string client_abs) RPCFUNC ALIAS FOR "message"

结构:

 global type fileinf_t from structure
string attachedfiles_name
blob attachedfiles_val
end type

在脚本中:

FILEINF_T files[]
FILEINF_T file
file.attachedfiles_name = "test"
files[1] = file
....
this.message ( ref ll_return, pclient_absid, pdocument_subject,
pdocument_text, files, pclient_abs)

我给出错误“Unsupported argument type in DLL function message at line 23 in function uf_ib_messagefile of object ub_ib6_transaction.”

为什么?

最佳答案

您的存储过程声明未将 document_attachedfiles 显示为数组。传入结构的单个实例或更新存储过程签名以接受数组。

关于oracle - PowerBuilder 不支持 Oracle 远程过程中的参数类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13363465/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com