Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Invalid arguments in call during Oracle Style Batching

452269Feb 5 2006 — edited Feb 6 2006
Using the latest driver, I am getting an "invalid arguments in call" exception during #execute at the point where the number of executes equals the batch size. It does not matter what my batch size is, big or small.

The same operations with Java Style Batching or without batching succeed as expected.

Here is the full stack trace. Anyone heard of this? There are inserts going on in multiple threads, but no one connection is used in more than a single thread. So the connection itself is not used in multithreaded manner.

Caused by: java.sql.SQLException: invalid arguments in call
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:335)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:202)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
at com.tripwire.space.core.persistence.db.StatementValues.execute(StatementValues.java:179)
... 8 more
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2006
Added on Feb 5 2006
4 comments
7,881 views