| Package | Description |
|---|---|
| com.wix.mysql | |
| com.wix.mysql.config |
| Modifier and Type | Method and Description |
|---|---|
static SqlScriptSource |
ScriptResolver.classPathFile(String path)
Deprecated.
in favor of
ScriptResolver.classPathScript(String) |
static SqlScriptSource |
ScriptResolver.classPathScript(String path)
Locates a single classPathFile in a classpath, ex.
|
static SqlScriptSource |
Sources.fromFile(File str) |
static SqlScriptSource |
Sources.fromString(String str) |
static SqlScriptSource |
Sources.fromURL(URL str) |
| Modifier and Type | Method and Description |
|---|---|
static List<SqlScriptSource> |
ScriptResolver.classPathFiles(String pattern)
Deprecated.
in favor of
ScriptResolver.classPathScripts(String) |
static List<SqlScriptSource> |
ScriptResolver.classPathScripts(String pattern)
Locates classPathFiles matching pattern, ordered using natural alphanumeric order
Note: Supports only wildcards ('*') and only in file names for matching
|
| Modifier and Type | Method and Description |
|---|---|
EmbeddedMysql.Builder |
EmbeddedMysql.Builder.addSchema(String name,
SqlScriptSource... scripts) |
List<String> |
EmbeddedMysql.executeScripts(String schemaName,
SqlScriptSource... scripts) |
void |
EmbeddedMysql.reloadSchema(String schemaName,
SqlScriptSource... scripts) |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedMysql.Builder |
EmbeddedMysql.Builder.addSchema(String name,
List<SqlScriptSource> scripts) |
List<String> |
EmbeddedMysql.executeScripts(String schemaName,
List<SqlScriptSource> scripts) |
void |
EmbeddedMysql.reloadSchema(String schemaName,
List<SqlScriptSource> scripts) |
| Modifier and Type | Method and Description |
|---|---|
List<SqlScriptSource> |
SchemaConfig.getScripts() |
| Modifier and Type | Method and Description |
|---|---|
SchemaConfig.Builder |
SchemaConfig.Builder.withScripts(SqlScriptSource... scripts) |
| Modifier and Type | Method and Description |
|---|---|
SchemaConfig.Builder |
SchemaConfig.Builder.withScripts(List<SqlScriptSource> scripts) |
Copyright © 2022. All rights reserved.