//The series name is reportInstanceId_reportPointId
final String reportId = Integer.toString(instance.getId()) + "_";
pointValueDao.getPointValuesBetween(pointIds, instance.getReportStartTime(), instance.getReportEndTime(), new MappedRowCallback<IdPointValueTime>(){
@Override
public void row(final IdPointValueTime ipvt, int rowId) {
dao.storeData( reportId + Integer.toString(pointIdMap.get(ipvt.getDataPointId())),ipvt);
count.increment();
}
});
// Insert the reportInstanceUserComments records for the selected events