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