Package org.springframework.r2dbc.connection.init
@NonNullApi
@NonNullFields
package org.springframework.r2dbc.connection.init
Provides extensible support for initializing databases through scripts.
-
ClassDescriptionThrown by
ScriptUtils
if an SQL script cannot be read.CompositeDatabasePopulator
that delegates to a list of givenDatabasePopulator
implementations, executing all scripts.Strategy used to populate, initialize, or clean up a database.Populates, initializes, or cleans up a database using SQL scripts defined in external resources.Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.Thrown byScriptUtils
if an SQL script cannot be properly parsed.Thrown byScriptUtils
if a statement in an SQL script failed when executing it against the target database.Generic utility methods for working with SQL scripts in conjunction with R2DBC.Thrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, anR2dbcException
from R2DBC that we cannot pinpoint more precisely.