| Constructor and Description |
|---|
DdlRunner(boolean expectErrors,
String scriptName)
Construct with a script name (for logging) and flag indicating if errors are expected.
|
| Modifier and Type | Method and Description |
|---|---|
int |
runAll(String content,
Connection connection)
Parse the content into sql statements and execute them in a transaction.
|
public int runAll(String content, Connection connection) throws SQLException
SQLExceptionCopyright © 2016. All rights reserved.