Skip to content

Add configuration support for LazyConnectionDataSourceProxy in application.yaml #42319

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
erie0210 opened this issue Sep 15, 2024 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@erie0210
Copy link
Contributor

erie0210 commented Sep 15, 2024

Currently, to use LazyConnectionDataSourceProxy in Spring Boot, developers have to manually wrap the DataSource in code. While there was a similar suggestion in the past (#15480), it appears that this feature has not yet been implemented.

I would like to propose adding support for configuring LazyConnectionDataSourceProxy directly through application.yaml.

By enabling this setting, the DataSource could be automatically wrapped with LazyConnectionDataSourceProxy, offering greater convenience to developers.

If the Spring team is open to it, I would like to work on implementing this feature myself. :)

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 15, 2024
@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 16, 2024
@wilkinsona
Copy link
Member

wilkinsona commented Sep 16, 2024

Duplicates #15480.

@erie0210 Please do not deliberately duplicate an existing issue, particularly one that is still open.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants