Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Execute In Transaction Setting

Description

Whether Flyway should execute SQL within a transaction.

Note that this setting can be set from Script Configuration in addition to project configuration.

Note: This parameter does not apply to Native Connectors.

Type

Boolean

Default

true

Usage

Flyway Desktop

This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.

Command-line

./flyway -executeInTransaction="false" migrate

TOML Configuration File

[flyway]
executeInTransaction = false

Configuration File

flyway.executeInTransaction=false

Script Configuration File

flyway.executeInTransaction=false

Environment Variable

FLYWAY_EXECUTE_IN_TRANSACTION=false

API

Flyway.configure()
    .executeInTransaction(false)
    .load()

Gradle

Not available

Maven

Not available


Didn't find what you were looking for?