Is there any way to run a complete ChangeLog in test mode. I mean, run it inside a global transaction with a rollback at the end. This will allow the DBA’s to test the whole ChangeLog before applying it to a Production environment.
Thanks
Is there any way to run a complete ChangeLog in test mode. I mean, run it inside a global transaction with a rollback at the end. This will allow the DBA’s to test the whole ChangeLog before applying it to a Production environment.
Thanks
The problem is that most databases will autocommit on DDL statements regardless of what liqubase tries to do.
My suggestion is normally to do a liquibase update against a snapshot of production before actually running it on production.
Nathan
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Does Liquibase support dry run? | 2 | 4342 | February 24, 2014 | |
| updateTestingRollback not rolling back | 11 | 1311 | December 16, 2022 | |
| Liquibase vs DBUnit | 2 | 803 | March 12, 2011 | |
| liquibase.update() call in Junit Test Not rolling back with Transaction -- Help? | 4 | 785 | November 4, 2011 | |
| Running all change-logs in a same transaction option for better deployment process | 3 | 1125 | March 20, 2025 |