Oracle SQLPlus
Published 14 November 2023
Oracle SQL*Plus
Description
Enable Flyway's support for Oracle SQL*Plus commands.
Default
false
Usage
Commandline
./flyway -oracle.sqlplus="true" info
TOML Configuration File
[flyway]
oracle.sqlplus = true
Configuration File
flyway.oracle.sqlplus=true
Environment Variable
FLYWAY_ORACLE_SQLPLUS=true
API
OracleConfigurationExtension oracleConfigurationExtension = configuration.getPluginRegister().getPlugin(OracleConfigurationExtension.class);
oracleConfigurationExtension.setSqlPlus(true);
Gradle
flyway {
oracleSqlplus = true
}
Maven
<configuration>
<oracleSqlplus>true</oracleSqlplus>
</configuration>
Use Cases
Configuring consistent sessions for your migrations
See our list of supported SQL*Plus commands and how you can utilize them with site and user profiles once SQL*Plus is enable to achieved this.