Skip to content

Verify: multiple sequential and simultaneous connections work (issue #97)#98

Open
HenryNebula wants to merge 1 commit intodevfrom
triage/97-multiple-connections
Open

Verify: multiple sequential and simultaneous connections work (issue #97)#98
HenryNebula wants to merge 1 commit intodevfrom
triage/97-multiple-connections

Conversation

@HenryNebula
Copy link
Copy Markdown
Owner

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 getConnection received wrong parameter types. Our JPype-based implementation does not have this issue — the JVM persists across connections and DriverManager.getConnection() is called correctly each time.

Changes

  • Add HsqldbMultipleConnectionsTest with tests for:
    • Sequential connect/query/close cycles (3 iterations)
    • Multiple simultaneous open connections (3 concurrent)

Test plan

  • Added test_sequential_connections verifying connect→query→close→connect pattern
  • Added test_multiple_simultaneous_connections verifying 3 open connections work independently
  • Pre-push hook passed: mock tests (60 OK) + integration tests (16 OK)

Closes #97

Generated with Claude Code

)

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>
@HenryNebula HenryNebula force-pushed the triage/97-multiple-connections branch from 6915370 to 0963b1c Compare April 29, 2026 14:03
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.

1 participant