Skip to content
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

made closeConnection in the Runner classes deprecated #1790

Merged
merged 1 commit into from
Dec 28, 2019

Conversation

mustaphazorgati
Copy link
Contributor

Because the Runners are not responsible to close the connection.

@mustaphazorgati
Copy link
Contributor Author

@harawata as discussed in #1781 I makred closeConnection() as deprecated.

@mustaphazorgati
Copy link
Contributor Author

Is there anything else I can do to help? :)

Copy link
Member

@harawata harawata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work, @mustaphazorgati !

We now add @deprecated since in javadoc comment, it seems.
Please see the comments.

@kazuki43zoo ,
Any concern with the deprecation or the changes?

src/main/java/org/apache/ibatis/jdbc/ScriptRunner.java Outdated Show resolved Hide resolved
src/main/java/org/apache/ibatis/jdbc/SqlRunner.java Outdated Show resolved Hide resolved
Because the Runners are not responsible to close the connection
Copy link
Member

@harawata harawata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the update, @mustaphazorgati !

@harawata harawata merged commit d2cb615 into mybatis:master Dec 28, 2019
@harawata harawata self-assigned this Dec 28, 2019
@harawata harawata added the polishing Improve a implementation code or doc without change in current behavior/content label Dec 28, 2019
@harawata harawata added this to the 3.5.4 milestone Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
polishing Improve a implementation code or doc without change in current behavior/content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants