Changin DB transaction control in flyway with hsql
问题 In HSQL to change TRANSACTION CONTROL there can't be any active transactions. Flyway, in turn, after committing migration X and before executing SQL from migration X, sets autocommitt=false and executes some of its own statements. So if the migration contains SET DATABASE TRANSACTION CONTROL statement it will wait for those uncommitted statements forever causing application to hang. (Side note: The statements executed by flyway before migration varies from version to version e.g. in 1.7 that