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

Check that autocommit is set to true before beginning a transaction #2291

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

AlecKazakova
Copy link
Collaborator

Closes #2041

@AlecKazakova AlecKazakova force-pushed the astrong/2021-04-15/check-autocommit branch from 2c02edb to df07344 Compare April 15, 2021 19:38
Copy link
Member

@JakeWharton JakeWharton left a comment

Choose a reason for hiding this comment

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

Test?

@AlecKazakova
Copy link
Collaborator Author

we don't currently have tests for the JdbcDriver, except through the Sqlite subclass which doesnt support autoCommit anyways. Ideally we use testContainers with MySQL or something here, but feels like more work than its worth at the moment

@AlecKazakova AlecKazakova merged commit 839b1c8 into master Apr 15, 2021
@AlecKazakova AlecKazakova deleted the astrong/2021-04-15/check-autocommit branch April 15, 2021 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JDBC Driver assumes autoCommit is true
2 participants