public class SqlFileEmbedder
extends java.lang.Object
main(String[])
,
SqlFile
,
RCData
Constructor | Description |
---|---|
SqlFileEmbedder(java.io.File rcFile,
java.lang.String urlid) |
Instantiates SqlFileEmbedder object and connects to specified database.
|
Modifier and Type | Method | 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.Exception
public java.sql.Connection getConn()
public static void main(java.lang.String[] sa) throws java.lang.Exception
java SqlFileEmbedderto see Syntax message.
java.lang.Exception
public void executeFiles(java.lang.String[] fileStrings) throws java.io.IOException, org.hsqldb.cmdline.SqlToolError, java.sql.SQLException
java.io.IOException
org.hsqldb.cmdline.SqlToolError
java.sql.SQLException
main(String[])
Copyright �� 2001 - 2013 HSQL Development Group.