Fixed notification issue

4.x.x
harshanl 8 years ago
parent 1a9ca2d59e
commit 9467efe0f6

@ -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(

@ -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(

@ -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(

@ -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(

Loading…
Cancel
Save