Skip to content

Add configuration support for LazyConnectionDataSourceProxy in application.yaml #42318

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

Comments

@jayleeinflab
Copy link

Currently, to use LazyConnectionDataSourceProxy in Spring Boot, developers have to manually wrap the DataSource in code. (At least for me.) While there was a similar suggestion in the past (Issue #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. :)

@philwebb philwebb added the status: duplicate A duplicate of another issue label Sep 15, 2024
@philwebb
Copy link
Member

philwebb commented Sep 15, 2024

Duplicates #15480.

@philwebb philwebb closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 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

2 participants