I am running liquibase directly from Java like this: So yes I am running it as an update and I expect that if one statement in the changeset fails the executed statements should be rolled back right? Because the entire changeset is running in a transaction.
I am surprised that such a simple rollback is not being done. I tried debugging the liquibase code and saw that there is an explicit call to connection.rollback. But the rollback never happens. In the above case I am expecting that the table
test_one be deleted when it encounters an issue but to my surprise the table still exists :(
I was testing this out on a simple mysql database. Can someone please throw light on this issue? This is a major issue for us.