Merge pull request #780 from sinthuja/master

Fixing https://github.com/wso2/product-iots/issues/495.
revert-70aa11f8
Geeth 8 years ago committed by GitHub
commit e3453f5bb1

@ -284,7 +284,8 @@ public class SQLServerOperationDAOImpl extends GenericOperationDAOImpl {
stmt = conn.prepareStatement(sql);
stmt.setString(1, opStatus.toString());
stmt.setString(2, pushNotificationStatus.toString());
stmt.setInt(3, limit);
stmt.setInt(3, 0);
stmt.setInt(4, limit);
rs = stmt.executeQuery();
while (rs.next()) {
int tenantID = rs.getInt("TENANT_ID");

Loading…
Cancel
Save