![](/img/trans.png)
[英]Oracle nested table as input argument to stored procedure with Mybatis
[英]Send nested objects to oracle stored procedure through mybatis
如何使用嵌套列表作為參數調用Oracle存儲過程? 例如: CALL procedure(arg1)
其中arg1
是list [1,2,[1,2,3]]
。 我已經寫了一個類型處理程序來映射參數,但是如何映射[1,2,3]
例如:偽代碼
STRUCT struct = new STRUCT(structDescriptor, connection, new Object[]{1,2,?});
ArrayDescriptor = new ArrayDescriptor(arrayDescriptor ,connection, struct);
我通過發送結構數組解決了它
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.