String key = iter.next();
String value = returnMap.get(key).toString();
fullMessage += key + "-" + value + "<br/>";
}
FlvRecordingLog flvRecordingLog = new FlvRecordingLog();
flvRecordingLog.setInserted(new Date());
flvRecordingLog.setExitValue(exitValue);
flvRecordingLog.setFlvRecording(flvRecording);
flvRecordingLog.setFullMessage(fullMessage);
flvRecordingLog.setMsgType(msgType);
Object idf = PersistenceSessionUtil.createSession();
EntityManager session = PersistenceSessionUtil.getSession();
EntityTransaction tx = session.getTransaction();
tx.begin();
flvRecordingLog = session.merge(flvRecordingLog);
Long flvRecordingLogId = flvRecordingLog.getFlvRecordingLogId();
tx.commit();
PersistenceSessionUtil.closeSession(idf);
return flvRecordingLogId;