You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.irenical.drowsy.datasource.DrowsyDataSource is a DataSource implementation with built-in dynamic configuration, allowing you to change any property at runtime. It's built upon HikariCP, Flyway and Jindy.
DrowsyDataSource is in itself a Lifecycle and can be used separately from Drowsy.
Keep in mind that DrowsyDataSource does not handle resource release. If you're using this module alone, ensure you close your Connections, Statements, ResultSets or any other JDBC resource you create.
Configuration
DataSource configuration is as in HikariCP, prefixed with jdbc. Plus two Flyway specific configurations.
jdbc.url=jdbc:postgresql://localhost:5432/MyDB
jdbc.username=me
jdbc.password=hunter2
...
# Whether or not to use Flyway, defaults to falsejdbc.flyway.bypass=false
#If set and Flyway is active, only updates greater that this will be applied, defaults to nulljdbc.flyway.baselineVersion=3