类 SQLScriptRunner
java.lang.Object
net.apexes.commons.lang.SQLScriptRunner
- 直接已知子类:
ScriptRunner
Tool to run database scripts
- 作者:
- jiangweibin
-
构造器概要
构造器构造器说明SQLScriptRunner(Connection connection, boolean autoCommit, boolean stopOnError) Default constructor -
方法概要
修饰符和类型方法说明voidRuns an SQL script (read in using the Reader parameter) using the connection passed invoidsetDelimiter(String delimiter, boolean fullLineDelimiter)
-
构造器详细资料
-
SQLScriptRunner
Default constructor
-
-
方法详细资料
-
setDelimiter
-
runScript
Runs an SQL script (read in using the Reader parameter) using the connection passed in- 参数:
reader- - the source of the script- 抛出:
SQLException- if any SQL errors occur
-