mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-1886 change type of lobColumnIndex (#753)
* CB-1886 change type of lobColumnIndex * CB-1886 change type of lobColumnIndex
This commit is contained in:
@@ -309,8 +309,8 @@ extend type Mutation {
|
||||
connectionId: ID!,
|
||||
contextId: ID!,
|
||||
resultsId: ID!,
|
||||
lobColumnIndex: ID!,
|
||||
row: [ SQLResultRow! ]
|
||||
lobColumnIndex: Int!,
|
||||
row: [ SQLResultRow! ]!
|
||||
): String!
|
||||
|
||||
# Returns SQLExecuteInfo
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+2
-2
@@ -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();
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user