public class SQLScriptUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
executeSqlScript(Connection connection,
String script)
Execute given SQL script using provided
Connection . |
public static void executeSqlScript(Connection connection, String script) throws IOException
Connection
.connection
- Connection on which to execute the script (not null)script
- SQL script not nullIOException
- If an execution error occurredCopyright © 2020 The Holon Platform. All rights reserved.