while (mapsIt.hasNext()) {
GeoMap map = (GeoMap) mapsIt.next();
List mapFeatures = mapFeaturesDAO.loadFeaturesByMapId(new Integer(map.getMapId()));
Iterator mapFeaturesIt = mapFeatures.iterator();
while (mapFeaturesIt.hasNext()) {
GeoFeature feature = (GeoFeature) mapFeaturesIt.next();
GeoMapFeature mapFeature = mapFeaturesDAO.loadMapFeatures(new Integer(map.getMapId()), new Integer(feature.getFeatureId()));
SbiGeoMapFeatures hibMapFeature = new SbiGeoMapFeatures();
SbiGeoMapFeaturesId hibMapFeatureId = new SbiGeoMapFeaturesId();
hibMapFeatureId.setMapId(mapFeature.getMapId());
hibMapFeatureId.setFeatureId(mapFeature.getFeatureId());
hibMapFeature.setId(hibMapFeatureId);