New! – Spin up instant copies of your dev databases in the cloud for free Learn more

Flyway Documentation

Poll

Oracle SQL*Plus

Flyway Teams

Description

Enable Flyway’s support for Oracle SQL*Plus commands.

Default

false

Usage

Commandline

./flyway -oracle.sqlplus="true" info

Configuration File

flyway.oracle.sqlplus=true

Environment Variable

FLYWAY_ORACLE_SQLPLUS=true

API

Flyway.configure()
    .oracleSqlplus(true)
    .load()

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.