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 later
Information in this document applies to any platform.
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.
CONN: java.sql.SQLException: Invalid Oracle URL specified
Not working after the JDBC upgrade to 19c.
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