Introducing Agent Safe Governance for the AI Era

Configure changesets to use native executors

Last updated: November 18, 2025

Liquibase decides whether to use the native executor based on the presence of the runWith attribute.

Procedure

1

In your changelog, apply runWith to each changeset you want to deploy using a native executor.

  • In Formatted SQL changelogs, you can apply runWithto any changeset.

  • In XML, YAML, and JSON changelogs, you can only apply runWith to changesets using the sql and sqlFile Change types.

For example, using sqlplus:

SQL example
loading
YAML example
loading
JSON example
loading
XML example
loading
2

In your command line, run a command to deploy your change, such as update.

liquibase update

When successful, Liquibase displays "Liquibase command 'update' was executed successfully."

Liquibase applies the native executor you specify in runWith during update and rollback operations. If you don't specify runWith, Liquibase uses the JDBC driver to deploy the changeset.