for(StringtableName:daoHelper.getJdbcTemplate().queryForList("SELECT table_name FROM INFORMATION_SCHEMA.SYSTEM_TABLES WHERE table_schem = 'PUBLIC'",String.class)){
try{
try{
LongtableCount=daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM %s",tableName),Long.class);
LongtableCount=daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM %s",tableName),Long.class);
dbTableCount.put(tableName,tableCount);
dbTableCount.put(tableName,tableCount);
@ -296,10 +299,19 @@ public class InternalHelpController {
map.put("dbMediaFileMusicNonPresentCount",daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM MEDIA_FILE WHERE NOT present AND type = 'MUSIC'"),Long.class));
map.put("dbMediaFileMusicNonPresentCount",daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM MEDIA_FILE WHERE NOT present AND type = 'MUSIC'"),Long.class));
map.put("dbMediaFilePodcastNonPresentCount",daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM MEDIA_FILE WHERE NOT present AND type = 'PODCAST'"),Long.class));
map.put("dbMediaFilePodcastNonPresentCount",daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM MEDIA_FILE WHERE NOT present AND type = 'PODCAST'"),Long.class));
map.put("dbMediaFileDirectoryNonPresentCount",daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM MEDIA_FILE WHERE NOT present AND type = 'DIRECTORY'"),Long.class));
map.put("dbMediaFileDirectoryNonPresentCount",daoHelper.getJdbcTemplate().queryForObject(String.format("SELECT count(*) FROM MEDIA_FILE WHERE NOT present AND type = 'DIRECTORY'"),Long.class));
@ -319,8 +331,6 @@ public class InternalHelpController {