Package de.forsthaus.backend.model

Examples of de.forsthaus.backend.model.HibernateEntityStatistics


      int updateCount = (int) entityStatistics.getUpdateCount();
      int deleteCount = (int) entityStatistics.getDeleteCount();
      int fetchCount = (int) entityStatistics.getFetchCount();
      int optimisticFailureCount = (int) entityStatistics.getOptimisticFailureCount();
      if (loadCount + insertCount + updateCount + deleteCount + fetchCount + optimisticFailureCount != 0) {
        HibernateEntityStatistics hibernateEntityStatistics = new HibernateEntityStatistics(entityName, loadCount, updateCount, insertCount,
            deleteCount, fetchCount, optimisticFailureCount, hibernateStatistics);
        hibernateStatistics.getHibernateEntityStatisticsSet().add(hibernateEntityStatistics);
        HibernateTemplate.save(hibernateEntityStatistics);
      }
    }
View Full Code Here

TOP

Related Classes of de.forsthaus.backend.model.HibernateEntityStatistics

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.