public class ScriptRunner extends Object
| 构造器和说明 |
|---|
ScriptRunner(Connection connection,
boolean autoCommit,
boolean stopOnError)
Default constructor
|
public ScriptRunner(Connection connection, boolean autoCommit, boolean stopOnError)
public void setDelimiter(String delimiter, boolean fullLineDelimiter)
public void runScript(Reader reader) throws SQLException
reader - - the source of the scriptSQLException - if any SQL errors occurCopyright © 2020. All rights reserved.