final OBCriteria<City> obc = OBDal.getInstance().createCriteria(City.class);
for (final City c : obc.list()) {
OBDal.getInstance().remove(c);
}
final City city = OBProvider.getInstance().get(City.class);
city.setAreaCode("3941");
city.setCoordinates("00");
city.setCoordinates("lo");
city.setPostalCode("postal");
city.setName("name");
city.setCountry(getOneInstance(Country.class));
city.setRegion(getOneInstance(Region.class));
OBDal.getInstance().save(city);
commitTransaction();
cityId = city.getId();
}