-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChangeExecListener-API cannot be used due to HubChangeExecListener #1651
Comments
Hi @ckulenkampff Thanks for reporting this error. We are looking to have a fix pretty soon on this issue. Stay tuned. |
8 tasks
This was referenced Feb 15, 2021
This was referenced Apr 30, 2021
This was referenced Jun 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Liquibase Version: 4.2.2
Liquibase Integration & Version: Java 1.8
Description
The API for providing a custom
ChangeExecListener
is broken, because the internalHubChangeExecListener
is now obligatory.Steps To Reproduce
ChangeExecListener
Liquibase
throughLiquibase.setChangeExecListener(ChangeExecListener)
Liquibase.update(String)
that directly accesses the databaseActual Behavior
A
RuntimeException
ChangeExecListener already defined is thrown.Expected/Desired Behavior
The provided
ChangeExecListener
is used without an exception. Being able to add multipleChangeExecListener
would be optimal.Additional Context
Currently I use the
ChangeExecListener
for adding database specific setup commands when the first changeset is actually executed.The text was updated successfully, but these errors were encountered: