Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue #24900 add a few unit tests for ManagedConnectionImpl and ConnectionHolder to understand associateConnection logic #25176

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

escay
Copy link
Contributor

@escay escay commented Oct 8, 2024

I wrote a few unit tests to start to understand associateConnection logic which is used by ConnectorXAResource in connector-runtime.
Added some javadoc to understand ManagedConnectionImpl parameters.
Added a listener null check and added unregister listener logic which seemed to be missing.
Removed a boolean parameter from setActive(true) which was always true.

@dmatej
Copy link
Contributor

dmatej commented Oct 8, 2024

Sorry, we had a broken metadata file in maven cache, that crashed your build, I have restarted the job now

@escay escay force-pushed the issue_24900_associateConnection branch from fd51567 to 6b7cd31 Compare October 11, 2024 18:28
@escay escay marked this pull request as ready for review October 12, 2024 06:23
@dmatej dmatej added this to the 7.0.19 milestone Oct 17, 2024
@dmatej dmatej added the enhancement New feature or request label Oct 17, 2024
associateConnection logic which is used by ConnectorXAResource in
connector-runtime
@escay escay force-pushed the issue_24900_associateConnection branch from 27a93f0 to 3ab0e59 Compare October 21, 2024 08:44
@dmatej dmatej merged commit 73e7d3d into eclipse-ee4j:master Oct 31, 2024
2 checks passed
@escay escay deleted the issue_24900_associateConnection branch November 8, 2024 09:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants