【问题标题】:Send nested objects to oracle stored procedure through mybatis通过mybatis发送嵌套对象到oracle存储过程
【发布时间】:2018-11-02 23:20:25
【问题描述】:

如何调用以嵌套列表为参数的oracle存储过程? 例如:CALL procedure(arg1) 其中arg1list [1,2,[1,2,3]]。我已经编写了一个类型处理程序来映射参数,但是如何映射 [1,2,3]

例如:伪代码

STRUCT struct = new STRUCT(structDescriptor, connection, new Object[]{1,2,?});
ArrayDescriptor = new ArrayDescriptor(arrayDescriptor ,connection, struct);

【问题讨论】:

    标签: java oracle mybatis


    【解决方案1】:

    我通过发送结构数组解决了这个问题

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-05-26
      • 1970-01-01
      • 1970-01-01
      • 2013-03-18
      • 2017-05-19
      • 1970-01-01
      • 2020-12-11
      • 2012-03-13
      相关资源
      最近更新 更多