spring-framework / org.springframework.jdbc.datasource.init

Package org.springframework.jdbc.datasource.init

Types

CompositeDatabasePopulator

open class CompositeDatabasePopulator : DatabasePopulator

Composite DatabasePopulator that delegates to a list of given DatabasePopulator implementations, executing all scripts.

DatabasePopulatorUtils

abstract class DatabasePopulatorUtils

Utility methods for executing a DatabasePopulator.

Exceptions

CannotReadScriptException

open class CannotReadScriptException : ScriptException

Thrown by ScriptUtils if an SQL script cannot be read.

ScriptException

abstract class ScriptException : DataAccessException

Root of the hierarchy of data access exceptions that are related to processing of SQL scripts.

ScriptParseException

open class ScriptParseException : ScriptException

Thrown by ScriptUtils if an SQL script cannot be properly parsed.

ScriptStatementFailedException

open class ScriptStatementFailedException : ScriptException

Thrown by ScriptUtils if a statement in an SQL script failed when executing it against the target database.

UncategorizedScriptException

open class UncategorizedScriptException : ScriptException

Thrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, a java.sql.SQLException from JDBC that we cannot pinpoint more precisely.