|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.test.jdbc
as colored differences. Deletions are shownlike 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.
{@code JdbcTestUtils} is a collection of JDBC related utilityClass JdbcTestUtils, boolean containsSqlScriptDelimiters(String, char)methods for use in unit andfunctions intended to simplify standard databaseintegrationtesting scenarios.As of Spring 3.1.3, {@code JdbcTestUtils} supersedes
SimpleJdbcTestUtils. @author Thomas Risberg @author Sam Brannen @author Juergen Hoeller @since 2.5.4
Class JdbcTestUtils, String readScript(LineNumberReader)DoesDetermine if the provided SQL scriptcontaincontains the specified delimiter?. @param script the SQL script @param delim character delimiting each statement-— typically a ';'charactercharacter @return {@code true} if the script contains the delimiter; {@code false} otherwise
Read a script from the provided {@code LineNumberReader} and buildClass JdbcTestUtils, void splitSqlScript(String, char, List<String>)aa {@code String} containingthethe lines.@param lineNumberReader the {@code LineNumberReader} containingthethescriptscript to be processed @return a {@code String} containing the scriptlines @throws IOExceptionlines
Split an SQL script into separate statements delimited with the provided delimiter character. Each individual statement will be added to the providedList
.@param script the SQL script @param delim character delimiting each statement-— typically a ';'character @param statements theListlist that will contain the individual statements
A Java-5-based collection of JDBC related utility functions intended to simplify standard database testing scenarios. @author Sam Brannen @author Juergen Hoeller @author Thomas Risberg @since 2.Class SimpleJdbcTestUtils, void executeSqlScript(SimpleJdbcTemplate, Resource, boolean)55 @deprecated as of Spring 3.1.3; use JdbcTestUtils instead.
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