Skip to content

Use SimpleDriverDataSource when creating a Liquibase-specific DataSource #24944

@wmilewski

Description

@wmilewski

Hi,

When Liquibase creates a new DataSource instance, the connection pool size is always 10, presumably a default value. This is not always desirable. It is possible to specify a custom DataSource for Liquibase to use, but setting it up is not trivial, at least for newcomers to SpringBoot and Liquibase. I think it would be much easier to allow developers to change the pool size by setting a custom value e.g. in the application.properties file.

Would there be an interest in adding this new configuration property? If yes, I'd be happy to try and provide a PR.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions