org.dbunit
Class HypersonicEnvironment

java.lang.Object
  extended by org.dbunit.DatabaseEnvironment
      extended by org.dbunit.HypersonicEnvironment

public class HypersonicEnvironment
extends DatabaseEnvironment

Since:
Feb 18, 2002
Version:
$Revision: 880 $
Author:
Manuel Laflamme

Constructor Summary
HypersonicEnvironment(DatabaseProfile profile)
           
 
Method Summary
 void closeConnection()
           
static Connection createJdbcConnection(String databaseName)
           
static void deleteFiles(File directory, String filename)
           
static void deleteFiles(String filename)
           
static void executeDdlFile(File ddlFile, Connection connection)
           
static void executeSql(Connection connection, String sql)
           
static void shutdown(Connection connection)
           
 
Methods inherited from class org.dbunit.DatabaseEnvironment
getConnection, getDatabaseTester, getInitDataSet, getInstance, getProfile, support, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HypersonicEnvironment

public HypersonicEnvironment(DatabaseProfile profile)
                      throws Exception
Throws:
Exception
Method Detail

executeDdlFile

public static void executeDdlFile(File ddlFile,
                                  Connection connection)
                           throws Exception
Throws:
Exception

executeSql

public static void executeSql(Connection connection,
                              String sql)
                       throws SQLException
Throws:
SQLException

createJdbcConnection

public static Connection createJdbcConnection(String databaseName)
                                       throws Exception
Throws:
Exception

closeConnection

public void closeConnection()
                     throws Exception
Overrides:
closeConnection in class DatabaseEnvironment
Throws:
Exception

shutdown

public static void shutdown(Connection connection)
                     throws SQLException
Throws:
SQLException

deleteFiles

public static void deleteFiles(String filename)

deleteFiles

public static void deleteFiles(File directory,
                               String filename)


Copyright © 2002-2012. All Rights Reserved.