public class SqlFileEmbedder extends Object
main(String[]),
SqlFile,
RCData| Constructor and Description |
|---|
SqlFileEmbedder(File rcFile,
String urlid)
Instantiates SqlFileEmbedder object and connects to specified database.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeFiles(String[] fileStrings)
Your own classes can use this method to execute SQL files.
|
Connection |
getConn()
For applications that use a persistent JDBC connection, this class can
be used to encapsulate that connection.
|
static void |
main(String[] sa)
Run
|
public SqlFileEmbedder(File rcFile, String urlid) throws Exception
Exceptionpublic Connection getConn()
public static void main(String[] sa) throws Exception
java SqlFileEmbedder
to see Syntax message.Exceptionpublic void executeFiles(String[] fileStrings) throws IOException, org.hsqldb.cmdline.SqlToolError, SQLException
IOExceptionorg.hsqldb.cmdline.SqlToolErrorSQLExceptionmain(String[])Copyright �� 2001 - 2013 HSQL Development Group.