TableManipulation tableManipulation = new TableManipulation(storeBuilder.table().create());
// database type must now be determined
tableManipulation.databaseType = null;
tableManipulation.setCacheName("GuessDatabaseType");
PooledConnectionFactory factory = new PooledConnectionFactory();
ConnectionFactoryConfiguration config = UnitTestDatabaseManager
.configureUniqueConnectionFactory(storeBuilder).create();
factory.start(config, Thread.currentThread().getContextClassLoader());
tableManipulation.start(factory);
tableManipulation.getUpdateRowSql();
UnitTestDatabaseManager.verifyConnectionLeaks(factory);
tableManipulation.stop();
factory.stop();
}