BeanUtils.populate(energyMedia, properties);
energyMedia.setId(id);
energyMediaDAO.merge(energyMedia);
Double newSCC = energyMedia.getScc();
if((oldSCC==null&&newSCC!=null)||(oldSCC!=null&&newSCC==null)||(oldSCC!=null&&newSCC!=null&&!oldSCC.equals(newSCC))){
SccRevision sccRevision = new SccRevision();
sccRevision.setId(new SccRevisionId(id,new Date()));
sccRevision.setScc(newSCC);
sccRevisionDAO.merge(sccRevision);
}
result.setSucceed(EM_MODIFY_SUCCEED,id);
} catch (IllegalAccessException e) {