Uses of Class
org.springframework.jdbc.datasource.init.ScriptException
Packages that use ScriptException
Package
Description
Provides extensible support for initializing databases through scripts.
-
Uses of ScriptException in org.springframework.jdbc.datasource.init
Subclasses of ScriptException in org.springframework.jdbc.datasource.initModifier and TypeClassDescriptionclassThrown byScriptUtilsif an SQL script cannot be read.classThrown byScriptUtilsif an SQL script cannot be properly parsed.classThrown byScriptUtilsif a statement in an SQL script failed when executing it against the target database.classThrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, aSQLExceptionfrom JDBC that we cannot pinpoint more precisely.Methods in org.springframework.jdbc.datasource.init that throw ScriptExceptionModifier and TypeMethodDescriptionvoidResourceDatabasePopulator.execute(DataSource dataSource) Execute thisResourceDatabasePopulatoragainst the givenDataSource.static voidScriptUtils.executeSqlScript(Connection connection, org.springframework.core.io.Resource resource) Execute the given SQL script using default settings for statement separators, comment delimiters, and exception handling flags.static voidScriptUtils.executeSqlScript(Connection connection, org.springframework.core.io.support.EncodedResource resource) Execute the given SQL script using default settings for statement separators, comment delimiters, and exception handling flags.static voidScriptUtils.executeSqlScript(Connection connection, org.springframework.core.io.support.EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static voidScriptUtils.executeSqlScript(Connection connection, org.springframework.core.io.support.EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.voidCompositeDatabasePopulator.populate(Connection connection) voidDatabasePopulator.populate(Connection connection) Populate, initialize, or clean up the database using the provided JDBC connection.voidResourceDatabasePopulator.populate(Connection connection) Populate, initialize, or clean up the database using the provided JDBC connection.