public class ExperimentAdditionalTableLoader
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
executeStatementsFromDirectory(java.lang.String folder,
ai.libs.jaicore.basic.SQLAdapter adapter)
Goes through all the files in the given directory, loads their contents and
tries to execute them as SQL statements.
|
public static void executeStatementsFromDirectory(java.lang.String folder,
ai.libs.jaicore.basic.SQLAdapter adapter)
throws java.io.IOException
folder - the directory from which the files containing sql statements are loadedadapter - the sql connection to use for executing the statementsjava.io.IOException - if the given folder cannot be read (does not exist, no rights,
not a directory, ...)