My Oracle Support Banner

Issue with re-using Oracle Style Bind Variables causes ORA-17041 with JDBC 10g and 11g Drivers (Doc ID 731833.1)

Last updated on JANUARY 30, 2022

Applies to:

JDBC - Version 10.2.0.3 and later
Information in this document applies to any platform.

Symptoms

When using JDBC 10g or 11g drivers,  Oracle style binding that uses the same bind variable twice does not automatically load the same value for the second bind resulting in an ORA-17041 error. This is not an issue in JDBC 9i drivers.

Testcase:

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
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.