map.put("gender", 'F');
connector.create(map);
}
// create datacontext using detected schema
SimpleTableDef tableDef = CouchDbDataContext.detectTable(connector);
CouchDbDataContext dc = new CouchDbDataContext(couchDbInstance, tableDef);
// verify schema and execute query
Schema schema = dc.getMainSchema();
assertEquals("[eobjects_metamodel_test]", Arrays.toString(schema.getTableNames()));