class HibernateFeatureModel extends HibernateLayerUtil implements FeatureModel {

	@Override
	public String getId(Object feature) throws LayerException {
		Entity entity = entityMapper.asEntity(feature);
		Object id = entity.getId(getFeatureInfo().getIdentifier().getName());
		return id == null ? null : id.toString();
	}

}