org.apache.ibatis.jdbc
Class ScriptRunner

java.lang.Object
  extended by org.apache.ibatis.jdbc.ScriptRunner

public class ScriptRunner
extends Object


Constructor Summary
ScriptRunner(Connection connection)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptRunner

public ScriptRunner(Connection connection)
Method Detail

setStopOnError

public void setStopOnError(boolean stopOnError)

setAutoCommit

public void setAutoCommit(boolean autoCommit)

setSendFullScript

public void setSendFullScript(boolean sendFullScript)

setRemoveCRs

public void setRemoveCRs(boolean removeCRs)

setEscapeProcessing

public void setEscapeProcessing(boolean escapeProcessing)
Since:
3.1.1

setLogWriter

public void setLogWriter(PrintWriter logWriter)

setErrorLogWriter

public void setErrorLogWriter(PrintWriter errorLogWriter)

setDelimiter

public void setDelimiter(String delimiter)

setFullLineDelimiter

public void setFullLineDelimiter(boolean fullLineDelimiter)

runScript

public void runScript(Reader reader)

closeConnection

public void closeConnection()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.