Package org.openmeetings.app.persistence.beans.flvrecord

Examples of org.openmeetings.app.persistence.beans.flvrecord.FlvRecordingLog


        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;
View Full Code Here


        String key = iter.next();
        String value = returnMap.get(key);
        fullMessage += key + "-" + value + "<br/>";
      }
     
      FlvRecordingLog flvRecordingLog = new FlvRecordingLog();
     
      flvRecordingLog.setInserted(new Date());
      flvRecordingLog.setExitValue(exitValue);
      flvRecordingLog.setFlvRecording(flvRecording);
      flvRecordingLog.setFullMessage(fullMessage);
      flvRecordingLog.setMsgType(msgType);
     
      flvRecordingLog = em.merge(flvRecordingLog);
      Long flvRecordingLogId = flvRecordingLog.getFlvRecordingLogId();
     
      return flvRecordingLogId;
    } catch (Exception ex2) {
      log.error("[addFLVRecordingLog]: ",ex2);
    }
View Full Code Here

TOP

Related Classes of org.openmeetings.app.persistence.beans.flvrecord.FlvRecordingLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.