- All Known Implementing Classes:
PostgresInitDatabase
public interface InitDatabase
Run database initialisation when a pool can't create the initial connections (user may not exist).
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(Connection connection, DataSourceConfig config) Execute some database initialisation statements on a database where the user may not exist.
-
Method Details
-
run
Execute some database initialisation statements on a database where the user may not exist.- Parameters:
connection- Connection obtained using the ownerUsername and ownerPassword.config- The datasource configuration.- Throws:
SQLException
-