public class SqlScriptUtils extends Object
Constructor and Description |
---|
SqlScriptUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
execStatements(String script,
Connection connection,
boolean stopOnError)
Execute a series of SQL statements, separated by ;
We are already connected...
|
public static boolean execStatements(String script, Connection connection, boolean stopOnError)
script
- The SQL script to be executeconnection
- connection to dbCopyright © 2017 Hitachi Vantara. All rights reserved.