Package org.ejbca.core.ejb.log

Examples of org.ejbca.core.ejb.log.LogEntryData


      if (log.isDebugEnabled()) {
        log.debug("Failed to allocate next sequential log entry row number after " + RETRIES + " tries.");
      }
      return false;
    } else {
      entityManager.persist(new LogEntryData(id, admin.getAdminType(), admindata, caid, module, time, username, uid, event, comment));
      return true;
    }
  }
View Full Code Here


  }

  public void testLogEntryData() {
    LOG.trace(">testLogEntryData");
    logMemStats();
    LogEntryData entity = new LogEntryData();
    entity.setAdminData(VARCHAR_250B);
    entity.setAdminType(0);
    entity.setCaId(0);
    entity.setCertificateSNR(VARCHAR_250B);
    entity.setEvent(0);
    entity.setId(BOGUS_INTEGER);
    entity.setLogComment(VARCHAR_250B);
    entity.setModule(0);
    entity.setRowProtection(CLOB_10KiB);
    entity.setRowVersion(0);
    entity.setTime(0L);
    entity.setUsername(VARCHAR_250B);
    storeAndRemoveEntity(entity);
    LOG.trace("<testLogEntryData");
  }
View Full Code Here

TOP

Related Classes of org.ejbca.core.ejb.log.LogEntryData

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.