Package org.apache.openejb.test
Class HsqldbTestDatabase
java.lang.Object
org.apache.openejb.test.HsqldbTestDatabase
- All Implemented Interfaces:
TestDatabase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidinit(Properties props) voidstart()voidstop()
-
Field Details
-
database
-
initialContext
-
-
Constructor Details
-
HsqldbTestDatabase
public HsqldbTestDatabase()
-
-
Method Details
-
createEntityTable
- Specified by:
createEntityTablein interfaceTestDatabase- Throws:
SQLException
-
dropEntityTable
- Specified by:
dropEntityTablein interfaceTestDatabase- Throws:
SQLException
-
createAccountTable
- Specified by:
createAccountTablein interfaceTestDatabase- Throws:
SQLException
-
dropAccountTable
- Specified by:
dropAccountTablein interfaceTestDatabase- Throws:
SQLException
-
start
- Specified by:
startin interfaceTestDatabase- Throws:
IllegalStateException
-
stop
- Specified by:
stopin interfaceTestDatabase- Throws:
IllegalStateException
-
init
- Specified by:
initin interfaceTestDatabase- Throws:
IllegalStateException
-