org.dbunit
Class DatabaseEnvironment

java.lang.Object
  extended by org.dbunit.DatabaseEnvironment
Direct Known Subclasses:
DerbyEnvironment, HypersonicEnvironment, OracleEnvironment

public class DatabaseEnvironment
extends Object

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

Constructor Summary
DatabaseEnvironment(DatabaseProfile profile)
           
 
Method Summary
 void closeConnection()
           
 IDatabaseConnection getConnection()
           
 IDatabaseTester getDatabaseTester()
           
 IDataSet getInitDataSet()
           
static DatabaseEnvironment getInstance()
           
 DatabaseProfile getProfile()
           
 boolean support(TestFeature feature)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseEnvironment

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

getInstance

public static DatabaseEnvironment getInstance()
                                       throws Exception
Throws:
Exception

getConnection

public IDatabaseConnection getConnection()
                                  throws Exception
Throws:
Exception

getDatabaseTester

public IDatabaseTester getDatabaseTester()

closeConnection

public void closeConnection()
                     throws Exception
Throws:
Exception

getInitDataSet

public IDataSet getInitDataSet()
                        throws Exception
Throws:
Exception

getProfile

public DatabaseProfile getProfile()
                           throws Exception
Throws:
Exception

support

public boolean support(TestFeature feature)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012. All Rights Reserved.