Skip to content

SPR-16162 make JpaVendorAdapter configuration properties more transaction type aware #1591

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

Closed
wants to merge 1 commit into from
Closed

SPR-16162 make JpaVendorAdapter configuration properties more transaction type aware #1591

wants to merge 1 commit into from

Conversation

apixandru
Copy link

@apixandru apixandru commented Nov 10, 2017

Autoconfigure based on the transaction type if detected. If the transaction type cannot be detected for whatever reason, it falls back to the current behavior.

This is basically to prevent the Vendor Adapter to set an invalid connection release mode for JTA transactions but can be used for further configuration based on the detected transaction type.

Running the application with embedded tomcat:
image

Running with weblogic
image

@jhoeller
Copy link
Contributor

As discussed on JIRA, a slightly different revision with the same intent is now in master. I'll backport it to 4.3.x over the weekend; it'd be great if you give it a try before the 5.0.2 / 4.3.13 release (mid next week).

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.

2 participants