* The Isis framework will be again be re-created in the next test unless the
* object store is "in-memory" (this is required since "in-memory" has to be
* left alone for created data to still be present in the next test).
*/
public void test2SetupDataWithDatabaseConnection() throws Exception {
final SqlIntegrationTestFixtures sqlIntegrationTestFixtures = getSqlIntegrationTestFixtures();
sqlIntegrationTestFixtures.dropTable("ISIS_SELFREFERENCINGENTITY");
sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTY");
sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLEENTITYWITHOWNPROPERTIES");
sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUB");
sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTWO");
sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITYSUBTHREE");
sqlIntegrationTestFixtures.dropTable("ISIS_REFERENCINGPOLYTYPESENTITY");
sqlIntegrationTestFixtures.dropTable("ISIS_STRINGBASEENTITY");
sqlIntegrationTestFixtures.dropTable("ISIS_STRINGABLE");
final ReferencingPolyTypesEntity referencingPolyTypesEntity = factory.newPolyTestClass();
referencingPolyTypesEntity.setString("polyTestClassString");
// Setup self-referencing collection