Oracle: Automatically enable support TNSNames aliases if TNS_ADMIN is set #1806
What version of Flyway are you using?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
What database are you using (type & version)?
Oracle XE 11.2
What operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
Tried connecting to database using TNSNames within the database connection string url as follows:
Which is a valid connection string as per the Oracle documentation:
The command I ran was:
With the configuration file as follows:
What did you expect to see?
Successful connection to the Database similar to the following:
What did you see instead?
I have a local fix and have successfully been using it against Oracle Enterprise 12c Database and will submit a pull request in the coming days once I have made the documentation changes.
The text was updated successfully, but these errors were encountered:
According to Oracle documentation:
When using TNSNames with the JDBC Thin driver, you must set the oracle.net.tns_admin property to the directory that contains your tnsnames.ora file.