uncommenting required fields

revert-70aa11f8
GPrathap 8 years ago
parent e7e8cb62b6
commit 9cdcb58103

@ -66,8 +66,8 @@ public class MSSQLGadgetDataServiceDAOImpl extends AbstractGadgetDataServiceDAO
"OFFSET ? ROWS FETCH NEXT ? ROWS ONLY";
stmt = con.prepareStatement(sql);
stmt.setInt(1, tenantId);
/*stmt.setInt(2, startIndex);
stmt.setInt(3, resultCount);*/
stmt.setInt(2, startIndex);
stmt.setInt(3, resultCount);
// executing query
rs = stmt.executeQuery();

@ -67,8 +67,8 @@ public class PostgreSQLGadgetDataServiceDAOImpl extends AbstractGadgetDataServic
stmt = con.prepareStatement(sql);
stmt.setInt(1, tenantId);
/*stmt.setInt(2, startIndex);
stmt.setInt(3, resultCount);*/
stmt.setInt(2, startIndex);
stmt.setInt(3, resultCount);
// executing query
rs = stmt.executeQuery();

Loading…
Cancel
Save