Connection Fails with Invalid Oracle URL specified When Username Has Hyphen(-) Character
(Doc ID 2820501.1)
Last updated on NOVEMBER 16, 2021
Applies to:
JDBC - Version 19.7 and laterInformation in this document applies to any platform.
Symptoms
JDBC OCI 19c or later connections fail with the following error when connecting to an Oracle 19c database.
The issue is centered around the database account name having either a dash "-" or an underscore "_" in the name.
The same works fine with JDBC 18c.
ERROR
--------
CONN: java.sql.SQLException: Invalid Oracle URL specified
Changes
Not working after the JDBC upgrade to 19c.
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 |