Generated by
JDiff

org.springframework.test.jdbc Documentation Differences

This file contains all the changes in documentation in the package org.springframework.test.jdbc as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class JdbcTestUtils, void executeSqlScript(JdbcTemplate, EncodedResource, boolean)

Execute the given SQL script.

The script will typically be loaded from the classpath. There should be one statement per line. Any semicolons and line comments will be removed.

Do not use this method to execute DDL if you expect rollback. @param jdbcTemplate the JdbcTemplate with which to perform JDBC operations @param resource the resource (potentially associated with a specific encoding) to load the SQL script from @param continueOnError whether or not to continue without throwing an exception in the event of an error @throws DataAccessException if there is an error executing a statement and {@code continueOnError} is {@code false} @see ResourceDatabasePopulator

Class JdbcTestUtils, void executeSqlScript(JdbcTemplate, Resource, boolean)

Execute the given SQL script.

The script will typically be loaded from the classpath. Statements should be delimited with a semicolon. If statements are not delimited with a semicolon then there should be one statement per line. Statements are allowed to span lines only if they are delimited with a semicolon. Any line comments will be removed.

Do not use this method to execute DDL if you expect rollback. @param jdbcTemplate the JdbcTemplate with which to perform JDBC operations @param resource the resource to load the SQL script from @param continueOnError whether or not to continue without throwing an exception in the event of an error @throws DataAccessException if there is an error executing a statement and {@code continueOnError} is {@code false} @see ResourceDatabasePopulatorResourceDatabasePopulator @see #executeSqlScript(JdbcTemplate, EncodedResource, boolean)

Class JdbcTestUtils, void executeSqlScript(JdbcTemplate, ResourceLoader, String, boolean)

Execute the given SQL script.

The script will typically be loaded from the classpath. There should be one statement per line. Any semicolons and line comments will be removed.

Do not use this method to execute DDL if you expect rollback. @param jdbcTemplate the JdbcTemplate with which to perform JDBC operations @param resourceLoader the resource loader with which to load the SQL script @param sqlResourcePath the Spring resource path for the SQL script @param continueOnError whether or not to continue without throwing an exception in the event of an error @throws DataAccessException if there is an error executing a statement and {@code continueOnError} is {@code false} @see ResourceDatabasePopulatorResourceDatabasePopulator @see #executeSqlScript(JdbcTemplate, Resource, boolean)

Class JdbcTestUtils, String readScript(LineNumberReader)

Read a script from the provided {@code LineNumberReader}, using using "{@code --}" as the comment prefix, and build a {@code String} containing the lines. @param lineNumberReader the {@code LineNumberReader} containing the script to be processed @return a {@code String} containing the script lines @see #readScript(LineNumberReader, String)
Class JdbcTestUtils, String readScript(LineNumberReader, String)

Read a script from the provided {@code LineNumberReader}, using the supplied comment prefix, and build a {@code String} containing the lines.

Lines beginning with the comment prefix are excluded from the results; however, line comments anywhere else — for example, within a statement — will be included in the results. @param lineNumberReader the {@code LineNumberReader} containing the script to be processed @param commentPrefix the line prefix that identifies comments in the SQL script script — typically "--" @return a {@code String} containing the script lines

Class JdbcTestUtils, void splitSqlScript(String, char, List<String>)

Split an SQL script into separate statements delimited withby the provided delimiter character. Each individual statement will be added to the provided List.

Within a statement, "{@code --}" will be used as the comment prefix; any text beginning with the comment prefix and extending to the end of the line will be omitted from the statement. In addition, multiple adjacent whitespace characters will be collapsed into a single space. @param script the SQL script @param delim character delimiting each statement — typically a ';' character @param statements the list that will contain the individual statements


Class SimpleJdbcTestUtils, void executeSqlScript(SimpleJdbcTemplate, Resource, boolean)

Execute the given SQL script. The script will normally be loaded by classpath.

Statements should be delimited with a semicolon. If statements are not delimited with a semicolon then there should be one statement per line. Statements are allowed to span lines only if they are delimited with a semicolon.

Do not use this method to execute DDL if you expect rollback. @param simpleJdbcTemplate the SimpleJdbcTemplate with which to perform JDBC operations @param resource the resource to load the SQL script from. @param continueOnError whether or not to continue without throwing an exception in the event of an error. @throws DataAccessException if there is an error executing a statement and continueOnError was false