}
protected void cleanSchema() throws Exception {
ObjectManager om = (ObjectManager) entityManager.getDelegate();
// Get the EntityManager's PartnerConnection
ConnectionFactory connFactory = om.getStoreManager().getConnectionManager().lookupConnectionFactory("force");
ForceManagedConnection mconn = (ForceManagedConnection) connFactory.createManagedConnection(null, null);
// cleanup schema via destructive changes
SfdcSchemaUtil.cleanSchema(mconn);
}