public class SqlScriptRunnerCached extends Object
| Constructor and Description |
|---|
SqlScriptRunnerCached() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
extractSqlScriptFromResourceFile(String resourcePath)
extract sql script based on a given resource path
|
static void |
runScriptFromResourceFile(Connection connection,
String... paths) |
static void |
runScriptFromResourceFile(Connection connection,
String resourcePath)
Execute the SQL commands in the given resource file.
|
public static void runScriptFromResourceFile(Connection connection, String... paths)
public static void runScriptFromResourceFile(Connection connection, String resourcePath)
Copyright © 2016–2024. All rights reserved.