public final class SQLScriptUtil extends Object
Modifier and Type | Method and Description |
---|---|
static List<String> |
getCommandsFromScript(File script,
DatabaseType databaseType)
Extracts SQL commands from SQL script.
|
public static List<String> getCommandsFromScript(File script, DatabaseType databaseType) throws IOException
script
- Script from which SQL commands are extracted.databaseType
- Database system type for which is the script written.IOException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.