org.apache.openejb.test
Interface TestDatabase

All Known Implementing Classes:
DerbyTestDatabase, HsqldbTestDatabase, InstantDbTestDatabase, PostgreSqlTestDatabase

public interface TestDatabase

Author:
David Blevins

Method Summary
 void createAccountTable()
           
 void createEntityTable()
           
 void dropAccountTable()
           
 void dropEntityTable()
           
 void init(Properties props)
           
 void start()
           
 void stop()
           
 

Method Detail

createEntityTable

void createEntityTable()
                       throws SQLException
Throws:
SQLException

dropEntityTable

void dropEntityTable()
                     throws SQLException
Throws:
SQLException

createAccountTable

void createAccountTable()
                        throws SQLException
Throws:
SQLException

dropAccountTable

void dropAccountTable()
                      throws SQLException
Throws:
SQLException

start

void start()
           throws IllegalStateException
Throws:
IllegalStateException

stop

void stop()
          throws IllegalStateException
Throws:
IllegalStateException

init

void init(Properties props)
          throws IllegalStateException
Throws:
IllegalStateException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.