Creating package-level associative array in java

后端 未结 2 1249
再見小時候
再見小時候 2021-01-06 04:08

Is it possible to create a java representation of a package-level oracle associative array. For example, given the following:

CREATE OR REPLACE PACKAGE MyPac         


        
相关标签:
2条回答
  • 2021-01-06 04:55

    See http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:3696816290928 and especially http://download.oracle.com/docs/cd/B10501_01/java.920/a96654/oci_func.htm#1017512 .

    0 讨论(0)
  • 2021-01-06 05:01

    You can also use OracleConnection.createOracleArray()

    Note that arrayTypeName should be the table of type.

    Also, you may find my my answer on getArray() and writeArray() useful.

    0 讨论(0)
提交回复
热议问题