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(java.util.Properties props)
           
 void start()
           
 void stop()
           
 

Method Detail

createEntityTable

void createEntityTable()
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

dropEntityTable

void dropEntityTable()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

createAccountTable

void createAccountTable()
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

dropAccountTable

void dropAccountTable()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

start

void start()
           throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

stop

void stop()
          throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

init

void init(java.util.Properties props)
          throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.