Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SQL*Plus variable substitution #1883

Closed
axelfontaine opened this issue Jan 2, 2018 · 3 comments
Closed

Add support for SQL*Plus variable substitution #1883

axelfontaine opened this issue Jan 2, 2018 · 3 comments

Comments

@axelfontaine
Copy link
Contributor

axelfontaine commented Jan 2, 2018

Including the following SQL*Plus commands:

  • SET DEFINE
  • SET SCAN
  • DEFINE
  • UNDEFINE

Additionally to avoid breaking existing installations not relying on SQL*Plus, SQL*Plus functionality should be disabled by default and activated with a new flag flyway.oracle.sqlplus.

@axelfontaine
Copy link
Contributor Author

This has now been implemented. When replacing placeholders with actual values, Flyway will look at both its regular placeholder configuration and the placeholders defined using the DEFINE command.

@Sajith1988V
Copy link

Is the flyway.oracle.sqlplus available in Flyway 5.1.1 community version?

@axelfontaine
Copy link
Contributor Author

@Sajith1988V No, it's Pro and Enterprise only. See https://flywaydb.org/documentation/database/oracle#sqlplus-commands

dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants