JDBC

问题:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 12
at oracle.jdbc.driver.OracleSql.computeBasicInfo(OracleSql.java:950)

原因:

In Oracle Metalink (Oracle's support site - Note ID 736273.1) I found that this is a bug in JDBC adapter (version 10.2.0.0.0 to 11.1.0.7.0) that when you call preparedStatement with more than 7 positional parameters then JDBC will throw this error.

If you have access to Oracle Metalink then one option is to go there and download mentioned patch.

驱动下载地址:http://www.oracle.com/technetwork/cn/articles/oem/jdbc-112010-094555-zhs.html

本地下载:下载  csdn下载

问题描述:

http://stackoverflow.com/questions/277744/jdbc-oracle-arrayindexoutofboundsexception

https://community.oracle.com/message/4596768

原文地址:https://www.cnblogs.com/jifeng/p/4528312.html