public class BatchSqlCommandRunner
extends java.lang.Object
| Constructor and Description |
|---|
BatchSqlCommandRunner(java.sql.Connection conn) |
BatchSqlCommandRunner(java.sql.Connection conn,
java.io.PrintWriter pw) |
BatchSqlCommandRunner(java.sql.Statement stmt) |
BatchSqlCommandRunner(java.sql.Statement stmt,
java.io.PrintWriter pw) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
runCommands(java.io.BufferedReader reader) |
void |
runCommands(java.io.InputStream stream) |
public BatchSqlCommandRunner(java.sql.Connection conn)
throws java.sql.SQLException
java.sql.SQLExceptionpublic BatchSqlCommandRunner(java.sql.Connection conn,
java.io.PrintWriter pw)
throws java.sql.SQLException
java.sql.SQLExceptionpublic BatchSqlCommandRunner(java.sql.Statement stmt)
public BatchSqlCommandRunner(java.sql.Statement stmt,
java.io.PrintWriter pw)
public void runCommands(java.io.BufferedReader reader)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionpublic void runCommands(java.io.InputStream stream)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionpublic void close()