1

在将sql Array 与Sybase数据库一起使用时,我遇到了"createArrayOf(String arg0, Object[] arg1)has not been completed and should not be called."运行时异常。

用法:

String[] list = {"test"};
statement.setArray(1, statement.getConnection().createArrayOf("varchar", ist));

例外:

Exception in thread "main" com.sybase.jdbc4.utils.UnimplementedOperationException: The method com.sybase.jdbc4.jdbc.SybConnection.public Array createArrayOf(String arg0, Object[] arg1) has not been completed and should not be called.
    at com.sybase.jdbc4.jdbc.ErrorMessage.raiseRuntimeException(Unknown Source)
    at com.sybase.jdbc4.utils.Debug.notImplemented(Unknown Source)
    at com.sybase.jdbc4.jdbc.SybConnection.createArrayOf(Unknown Source)
4

0 回答 0