Creating package-level associative array in java

后端 未结 2 1255
再見小時候
再見小時候 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 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.

提交回复
热议问题