Verify: multiple sequential and simultaneous connections work (issue #97)#98
Open
HenryNebula wants to merge 1 commit intodevfrom
Open
Verify: multiple sequential and simultaneous connections work (issue #97)#98HenryNebula wants to merge 1 commit intodevfrom
HenryNebula wants to merge 1 commit intodevfrom
Conversation
) Add HSQLDB integration tests verifying that multiple connect/close cycles and multiple simultaneous connections work correctly. The upstream Py4J-era bug (baztian/jaydebeapi#56) about getConnection overload mismatches does not affect the JPype-based implementation. Closes #97 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6915370 to
0963b1c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #97: Verify that multiple sequential and simultaneous JDBC connections work correctly in the JPype-based implementation.
The upstream bug (baztian/jaydebeapi#56) reported multiple connections failing after the first one. That was a Py4J-era issue where
getConnectionreceived wrong parameter types. Our JPype-based implementation does not have this issue — the JVM persists across connections andDriverManager.getConnection()is called correctly each time.Changes
HsqldbMultipleConnectionsTestwith tests for:Test plan
test_sequential_connectionsverifying connect→query→close→connect patterntest_multiple_simultaneous_connectionsverifying 3 open connections work independentlyCloses #97
Generated with Claude Code