Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyamSanthosh committed Dec 6, 2023
1 parent 6ce53b6 commit b8a95de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2061,7 +2061,7 @@ public ApplicationBasicInfo[] getApplicationBasicInfo(String filter, int offset,
sqlQuery = String.format(
ApplicationMgtDBQueries.LOAD_APP_NAMES_BY_TENANT_AND_FILTER_DB2SQL, filterString);
getAppNamesStmt = connection.prepareStatement(sqlQuery);
populateApplicationSearchQuery(getAppNamesStmt, tenantID, filterValues, offset, limit);
populateApplicationSearchQuery(getAppNamesStmt, tenantID, filterValues, offset, offset + limit);
} else if (databaseProductName.contains("INFORMIX")) {
sqlQuery = String.format(
ApplicationMgtDBQueries.LOAD_APP_NAMES_BY_TENANT_AND_FILTER_INFORMIX, filterString);
Expand Down Expand Up @@ -3813,7 +3813,7 @@ public ApplicationBasicInfo[] getApplicationBasicInfo(int offset,
} else if (databaseProductName.contains("DB2")) {
sqlQuery = ApplicationMgtDBQueries.LOAD_APP_NAMES_BY_TENANT_DB2SQL;
getAppNamesStmt = connection.prepareStatement(sqlQuery);
populateListAppNamesQueryValues(tenantID, offset + 1, offset + limit, getAppNamesStmt);
populateListAppNamesQueryValues(tenantID, offset, offset + limit, getAppNamesStmt);
} else if (databaseProductName.contains("INFORMIX")) {
sqlQuery = ApplicationMgtDBQueries.LOAD_APP_NAMES_BY_TENANT_INFORMIX;
getAppNamesStmt = connection.prepareStatement(sqlQuery);
Expand Down

0 comments on commit b8a95de

Please sign in to comment.