| java.lang.Object com.ibatis.common.jdbc.ScriptRunner
ScriptRunner | public class ScriptRunner (Code) | | Tool to run database scripts
|
ScriptRunner | public ScriptRunner(Connection connection, boolean autoCommit, boolean stopOnError)(Code) | | Default constructor
|
runScript | public void runScript(Reader reader) throws IOException, SQLException(Code) | | Runs an SQL script (read in using the Reader parameter)
Parameters: reader - - the source of the script |
setErrorLogWriter | public void setErrorLogWriter(PrintWriter errorLogWriter)(Code) | | Setter for errorLogWriter property
Parameters: errorLogWriter - - the new value of the errorLogWriter property |
setLogWriter | public void setLogWriter(PrintWriter logWriter)(Code) | | Setter for logWriter property
Parameters: logWriter - - the new value of the logWriter property |
|
|