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
Exception
public Connection getConn()
public static void main(String[] sa) throws Exception
java SqlFileEmbedderto see Syntax message.
Exception
public void executeFiles(String[] fileStrings) throws IOException, org.hsqldb.cmdline.SqlToolError, SQLException
IOException
org.hsqldb.cmdline.SqlToolError
SQLException
main(String[])
Copyright �� 2001 - 2013 HSQL Development Group.