ORA-ERROR Message Obtained by getMessage() has newline.
(Doc ID 2954807.1)
Last updated on JUNE 12, 2023
Applies to:
JDBC - Version 19.3 and laterInformation in this document applies to any platform.
Symptoms
The customer is appending a string to the end of the ORA error and is monitoring the "ORA error + string" message in the monitoring tool.
However, when getting an error with the getMessage() method, a newline code (\n) is inserted at the end of the error, and the intended message is not output due to this.
As a result, there are issues in operation due to false positives.
Customers expect following messages:
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 |