Error "ORA-17068: Invalid argument(s) in call" Using Method setBinaryStream(0L) in JDBC 11.2.0.1
(Doc ID 1234235.1)
Last updated on FEBRUARY 26, 2025
Applies to:
JDBC - Version 10.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
Position 0 is being used in the JDBC Lob functions. For example, in below code setBinaryStream(0) is getting the OutputStream starting at position 0 from a java.sql.Blob.
This code results in the following error:
ORA-17068: Invalid argument(s) in call
An example stack trace:
java.sql.SQLException: Invalid argument(s) in call
at oracle.jdbc.driver.T4CConnection.newOutputStream(T4CConnection.java:2753)
at oracle.sql.BLOB.setBinaryStream(BLOB.java:893)
Changes
upgrade of Oracle JDBC driver to 11.2.0.1
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |