-
Notifications
You must be signed in to change notification settings - Fork 77
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
before/after new hooks #109
Conversation
Thank you @chb0github ! The existing |
There is only one element put into the As for what should be supplied in the context overall (and it's appropriateness) to accessing the DB: Why artificially limit On the
So, let's say you want the description or to contain a JIRA ticket number (we do) and the user making the change by default (we do), I could do both and the result is THEN turned into the file to be applied. in our case the JIRA ticket is determined from the local branch. If you would like a
|
It's a bit too hypothetical, but when executing
As |
@@ -50,7 +51,11 @@ public Connection getConnection() throws SQLException { | |||
* Source of the SQL to execute. | |||
*/ | |||
public void executeSql(Reader reader) { | |||
scriptRunner.runScript(reader); | |||
try { | |||
scriptRunner.runScript(reader, connectionProvider.getConnection()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to remove this - that change isn't merged into mybatis yet
} finally { | ||
runner.closeConnection(); | ||
connection.close(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove pending mybatis changes
… that, while inert, isn't necessary for this change
About the most recent changes:
Working on the tests. |
Does anyone have any input? |
@chb0github Hang tight! I reached out to the broader group in the dev mailing list to get input. I usually only deal with build related things so most of what you are doing I've never actually worked with so I unfortunately don't have much input one way or the other but appreciate the activity and improvements. |
hurray! new hooks builds! |
Closing out in favor of PR #113 |
issue #106