CB-1886 change type of lobColumnIndex (#753)

* CB-1886 change type of lobColumnIndex

* CB-1886 change type of lobColumnIndex
This commit is contained in:
Ainur
2022-04-07 13:29:38 +03:00
committed by GitHub
parent 4cc615ce7d
commit ef8f5d2deb
4 changed files with 6 additions and 6 deletions
@@ -309,8 +309,8 @@ extend type Mutation {
connectionId: ID!,
contextId: ID!,
resultsId: ID!,
lobColumnIndex: ID!,
row: [ SQLResultRow! ]
lobColumnIndex: Int!,
row: [ SQLResultRow! ]!
): String!
# Returns SQLExecuteInfo
@@ -111,7 +111,7 @@ public interface DBWServiceSQL extends DBWService {
String readLobValue(
@NotNull WebSQLContextInfo contextInfo,
@NotNull String resultsId,
@NotNull String lobColumnIndex,
@NotNull Integer lobColumnIndex,
@Nullable List<WebSQLResultsRow> row) throws DBWebException;
@WebAction
@@ -610,7 +610,7 @@ public class WebSQLProcessor implements WebSessionProvider {
@NotNull DBRProgressMonitor monitor,
@NotNull WebSQLContextInfo contextInfo,
@NotNull String resultsId,
@NotNull String lobColumnIndex,
@NotNull Integer lobColumnIndex,
@Nullable WebSQLResultsRow row) throws DBException {
WebSQLResultsInfo resultsInfo = contextInfo.getResults(resultsId);
@@ -619,7 +619,7 @@ public class WebSQLProcessor implements WebSessionProvider {
DBSEntity dataContainer = rowIdentifier.getEntity();
DBSDataManipulator dataManipulator = (DBSDataManipulator) dataContainer;
DBCExecutionContext executionContext = getExecutionContext(dataManipulator);
WebSQLDataLOBReceiver dataReceiver = new WebSQLDataLOBReceiver(contextInfo, dataManipulator, CommonUtils.toInt(lobColumnIndex));
WebSQLDataLOBReceiver dataReceiver = new WebSQLDataLOBReceiver(contextInfo, dataManipulator, lobColumnIndex);
try (DBCSession session = executionContext.openSession(monitor, DBCExecutionPurpose.USER, "Generate data update batches")) {
WebExecutionSource executionSource = new WebExecutionSource(dataManipulator, executionContext, this);
DBDDataFilter dataFilter = new DBDDataFilter();
@@ -312,7 +312,7 @@ public class WebServiceSQL implements DBWServiceSQL {
public String readLobValue(
@NotNull WebSQLContextInfo contextInfo,
@NotNull String resultsId,
@NotNull String lobColumnIndex,
@NotNull Integer lobColumnIndex,
@Nullable List<WebSQLResultsRow> row) throws DBWebException
{
try {