Skip to content

Use customized ConnectionFactory lookup to avoid AbstractR2dbcConfiguration proxying #96

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 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Apr 15, 2019

We now attempt to lookup ConnectionFactory from ApplicationContext and fall back to a local
method call if ConnectionFactory is not exposed as a bean.


Related ticket: #95.

@mp911de
Copy link
Member Author

mp911de commented Apr 15, 2019

/cc @bclozel

Copy link
Contributor

@schauder schauder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old version did a bean lookup by name.
This version doesn't and therefore fails in that case.

*
* @author Mark Paluch
*/
public class R2dbcConfigurationTests {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be ...IntegrationTests.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@schauder schauder assigned mp911de and unassigned schauder Apr 17, 2019
…onfiguration proxying.

We now attempt to lookup ConnectionFactory from ApplicationContext and fall back to a local
method call if ConnectionFactory is not exposed as bean.
@mp911de mp911de assigned schauder and unassigned mp911de Apr 17, 2019
schauder pushed a commit that referenced this pull request Apr 18, 2019
…onfiguration proxying.

We now attempt to lookup ConnectionFactory from ApplicationContext and fall back to a local
method call if ConnectionFactory is not exposed as bean.

Original pull request: #96.
@schauder
Copy link
Contributor

This is merged onto master.

@schauder schauder closed this Apr 18, 2019
@schauder schauder deleted the issue/gh-95 branch April 18, 2019 07:04
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