@NonNullApi @NonNullFields

# Package org.springframework.r2dbc.connection.init

Provides extensible support for initializing databases through scripts.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DatabasePopulator | Strategy used to populate, initialize, or clean up a database.

- Class Summary
  Class | Description
  --- | ---
  CompositeDatabasePopulator | Composite `DatabasePopulator` that delegates to a list of given `DatabasePopulator` implementations, executing all scripts.
  ConnectionFactoryInitializer | Used to set up a database during initialization and `clean up` a database during destruction.
  ResourceDatabasePopulator | Populates, initializes, or cleans up a database using SQL scripts defined in external resources.
  ScriptUtils | Generic utility methods for working with SQL scripts in conjunction with R2DBC.

- Exception Summary
  Exception | Description
  --- | ---
  CannotReadScriptException | Thrown by `ScriptUtils` if an SQL script cannot be read.
  ScriptException | Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.
  ScriptParseException | Thrown by `ScriptUtils` if an SQL script cannot be properly parsed.
  ScriptStatementFailedException | Thrown by `ScriptUtils` if a statement in an SQL script failed when executing it against the target database.
  UncategorizedScriptException | Thrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, an `R2dbcException` from R2DBC that we cannot pinpoint more precisely.

## Package org.springframework.r2dbc.connection.init Description

Provides extensible support for initializing databases through scripts.