Fixed notification issue

This commit is contained in:
harshanl 2016-09-27 17:54:31 +05:30
parent 1a9ca2d59e
commit 9467efe0f6
4 changed files with 8 additions and 8 deletions

View File

@ -64,7 +64,7 @@ public class GenericNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(
@ -108,7 +108,7 @@ public class GenericNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(

View File

@ -64,7 +64,7 @@ public class OracleNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(
@ -108,7 +108,7 @@ public class OracleNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(

View File

@ -64,7 +64,7 @@ public class PostgreSQLNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(
@ -108,7 +108,7 @@ public class PostgreSQLNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(

View File

@ -64,7 +64,7 @@ public class SQLServerNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(
@ -108,7 +108,7 @@ public class SQLServerNotificationDAOImpl extends AbstractNotificationDAOImpl {
rs = stmt.executeQuery();
notifications = new ArrayList<>();
while (rs.next()) {
notifications.add(NotificationDAOUtil.getNotification(rs));
notifications.add(NotificationDAOUtil.getNotificationWithDeviceInfo(rs));
}
} catch (SQLException e) {
throw new NotificationManagementException(