oracle Array filled with null data in java

前端 未结 3 1556
轻奢々
轻奢々 2021-02-10 16:10

When I try to throw an Array of strings to oracle stored procedure as:

String arrStr[] ={\"val1\",\"val2\",\"val3\"};
ArrayDescriptor descriptor = ArrayDescripto         


        
3条回答
  •  迷失自我
    2021-02-10 17:09

    After hours I have founded the cause, the real problem is the NLS_CHARACTERSET of your database work with a encoding that is not supported by your client, to jdbc support others NLS_LANG is necessary add orai18n.jar in classpath. See your database settings with this sql:

    SELECT * FROM NLS_DATABASE_PARAMETERS

提交回复
热议问题