public class ScriptRunner extends Object
Constructor and Description |
---|
ScriptRunner(Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection() |
void |
runScript(Reader reader) |
void |
setAutoCommit(boolean autoCommit) |
void |
setDelimiter(String delimiter) |
void |
setErrorLogWriter(PrintWriter errorLogWriter) |
void |
setEscapeProcessing(boolean escapeProcessing) |
void |
setFullLineDelimiter(boolean fullLineDelimiter) |
void |
setLogWriter(PrintWriter logWriter) |
void |
setRemoveCRs(boolean removeCRs) |
void |
setSendFullScript(boolean sendFullScript) |
void |
setStopOnError(boolean stopOnError) |
public ScriptRunner(Connection connection)
public void setStopOnError(boolean stopOnError)
public void setAutoCommit(boolean autoCommit)
public void setSendFullScript(boolean sendFullScript)
public void setRemoveCRs(boolean removeCRs)
public void setEscapeProcessing(boolean escapeProcessing)
public void setLogWriter(PrintWriter logWriter)
public void setErrorLogWriter(PrintWriter errorLogWriter)
public void setDelimiter(String delimiter)
public void setFullLineDelimiter(boolean fullLineDelimiter)
public void runScript(Reader reader)
public void closeConnection()
Copyright © 2010–2015 MyBatis.org. All rights reserved.