How to set CONNECTION_PROPERTY_ENABLE_DIAGNOSE_FIRST_FAILURE in the Code?
(Doc ID 3080367.1)
Last updated on APRIL 07, 2025
Applies to:
JDBC - Version 23.5 and laterInformation in this document applies to any platform.
Goal
1) Although setting the property at the system level (i.e., -Doracle.jdbc.diagnostic.enableDiagnoseFirstFailure=false) resolves the error "java.io.InterruptedIOException: Socket Read Interrupted Exception", it is preferred to set it at the Java code level. However, this approach is not
working. What is the correct way to set this property in the code?
2) Is the property name mentioned in this document incorrect?
3) What are the drawbacks of disabling the Diagnostics First Failure?
Solution
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
Goal |
Solution |
References |