org.openejb.test
Interface TestDatabase

All Known Implementing Classes:
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

public void createEntityTable()
                       throws SQLException
Throws:
SQLException

dropEntityTable

public void dropEntityTable()
                     throws SQLException
Throws:
SQLException

createAccountTable

public void createAccountTable()
                        throws SQLException
Throws:
SQLException

dropAccountTable

public void dropAccountTable()
                      throws SQLException
Throws:
SQLException

start

public void start()
           throws IllegalStateException
Throws:
IllegalStateException

stop

public void stop()
          throws IllegalStateException
Throws:
IllegalStateException

init

public void init(Properties props)
          throws IllegalStateException
Throws:
IllegalStateException


Copyright © 1999-2007 OpenEJB. All Rights Reserved.