- 
                Notifications
    You must be signed in to change notification settings 
- Fork 39
Open
Labels
type: enhancementA general enhancementA general enhancement
Description
Hi all,
Existing connection pools available in spring boot have a common feature to launch some SQL statements to initialize new SQL connections.
This feature is available in spring boot using these properties:
- spring.datasource.dbcp2.connection-init-sqls
- spring.datasource.tomcat.init-s-q-l
- spring.datasource.hikari.connection-init-sql
A sample usage is to set the connection TimeZone on PostgreSQL, that not possible with the driver connection properties.
As I understand it, embedded-database-spring-test injects it's own DataSource, so this feature is not available.
The proposal is to implement this feature as part of this library, would you be interested in a such feature ? I can start working on it if you think that it would fit,
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement