public Map<String, Long> getTableCount() { Map<String, Long> tableCount = new HashMap<String, Long>(); try { for (String tableName : getDbEntityManager().getTableNamesPresentInDatabase()) { tableCount.put(tableName, getTableCount(tableName)); } LOG.countRowsPerProcessEngineTable(tableCount); } catch (Exception e) { throw LOG.countTableRowsException(e); } return tableCount; }