Configure changesets to use native executors
Last updated: September 2, 2025
Liquibase decides whether to use the native executor based on the presence of the runWith attribute.
Procedure
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
runWithto changesets using thesqlandsqlFileChange types.
For example, using sqlplus:
SQL example
YAML example
JSON example
XML example
In your command line, run a command to deploy your change, such as update.
liquibase updateWhen 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.