Skip to content

Add configuration support for LazyConnectionDataSourceProxy in application.yaml #42318

Closed as not planned
@jayleeinflab

Description

@jayleeinflab

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. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions