org.apache.openejb.test
Class DerbyTestDatabase
java.lang.Object
org.apache.openejb.test.DerbyTestDatabase
- All Implemented Interfaces:
- TestDatabase
public class DerbyTestDatabase
- extends Object
- implements TestDatabase
- Version:
- $Rev: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $
- Author:
- David Blevins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
database
protected Database database
initialContext
protected InitialContext initialContext
DerbyTestDatabase
public DerbyTestDatabase()
createEntityTable
public void createEntityTable()
throws SQLException
- Specified by:
createEntityTable
in interface TestDatabase
- Throws:
SQLException
dropEntityTable
public void dropEntityTable()
throws SQLException
- Specified by:
dropEntityTable
in interface TestDatabase
- Throws:
SQLException
createAccountTable
public void createAccountTable()
throws SQLException
- Specified by:
createAccountTable
in interface TestDatabase
- Throws:
SQLException
dropAccountTable
public void dropAccountTable()
throws SQLException
- Specified by:
dropAccountTable
in interface TestDatabase
- Throws:
SQLException
start
public void start()
throws IllegalStateException
- Specified by:
start
in interface TestDatabase
- Throws:
IllegalStateException
stop
public void stop()
throws IllegalStateException
- Specified by:
stop
in interface TestDatabase
- Throws:
IllegalStateException
init
public void init(Properties props)
throws IllegalStateException
- Specified by:
init
in interface TestDatabase
- Throws:
IllegalStateException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.