Examples of synchLog()


Examples of de.scoopgmbh.copper.audit.BatchingAuditTrail.synchLog()

      auditTrail.startup();
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
    Date occurrence = new Date();
    auditTrail.synchLog(1, occurrence, "1", "2", "", "", "", "detail", "Text");
   
    try {
      List<AuditTrailInfo> selectAuditTrails = monitoringDbDialect.selectAuditTrails(null, null, null, null, 3, datasource.getConnection());
      assertEquals(1, selectAuditTrails.size());
      assertEquals(occurrence.getTime(),selectAuditTrails.get(0).getOccurrence().getTime());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.