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

Refactors JtaConnection to allow status enforcement by JTA implementation #8479

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ljnelson
Copy link
Member

This pull request refactors JtaConnection (and makes requisite changes in other files to accommodate) so that if desired all enlistment validation can be performed by the JTA implementation, rather than proactively by the Helidon classes.

This pull request is in response to #8441 but it is not clear that the desired use case is supportable. The refactorings help more cleanly separate responsibilities, however.

The refactorings are behind a system property for the moment (helidon.jta.preemptiveEnlistmentChecks). To run an application with these refactorings in effect, pass false for this value (it is true by default for backwards compatibility).

Documentation impact: none; this is an internal refactoring only.

…is STATUS_MARKED_ROLLBACK

Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
@ljnelson ljnelson added enhancement New feature or request P4 jpa/jta integration java Pull requests that update Java code 4.x Version 4.x labels Mar 14, 2024
@ljnelson ljnelson requested a review from tjquinno March 14, 2024 22:56
@ljnelson ljnelson self-assigned this Mar 14, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 14, 2024
@ljnelson ljnelson marked this pull request as ready for review March 18, 2024 23:53
@ljnelson ljnelson added this to Sprint Scope in Backlog Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x enhancement New feature or request integration java Pull requests that update Java code jpa/jta OCA Verified All contributors have signed the Oracle Contributor Agreement. P4
Projects
Backlog
  
Sprint Scope
Development

Successfully merging this pull request may close these issues.

None yet

1 participant