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

0003487: Executing ISqlTemplate.update() with multiple statements swallows errors #69

Merged
merged 1 commit into from Mar 13, 2018

Conversation

woehrl01
Copy link
Contributor

If you execute a ISQLTemplate.update() with multiple statements at once, and one of the later statements are leading to an error (e.g. foreign key constraint violation) this exception is not thrown back to the user.

This PR reads all the result counts so that if an error is read it will be rethrown. This is also the documented behaviour of JDBC.

@mmichalek mmichalek merged commit d1eb739 into JumpMind:3.9 Mar 13, 2018
@mmichalek
Copy link
Contributor

Thank you for that PR - definitely don't want to hide errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants