Skip to content

Commit 02857aa

Browse files
committed
Oracle Provider update
1 parent 5c8294b commit 02857aa

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

Provider for Oracle/Models/WorkflowGlobalParameter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using Oracle.ManagedDataAccess.Client;
33

4+
// ReSharper disable once CheckNamespace
45
namespace OptimaJet.Workflow.Oracle
56
{
67
public sealed class WorkflowGlobalParameter : DbObject<WorkflowGlobalParameter>

Provider for Oracle/Models/WorkflowProcessInstance.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System;
33
using Oracle.ManagedDataAccess.Client;
44

5+
// ReSharper disable once CheckNamespace
56
namespace OptimaJet.Workflow.Oracle
67
{
78
public class WorkflowProcessInstance: DbObject<WorkflowProcessInstance>

Provider for Oracle/Models/WorkflowProcessTimer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public static int SetIgnore(OracleConnection connection, WorkflowProcessTimer[]
146146
}
147147

148148
return ExecuteCommand(connection,
149-
string.Format("DELETE FROM {0} WHERE ID IN ({1})", ObjectName, string.Join(",", parameters)),
149+
string.Format("UPDATE {0} SET IGNORE = 1 WHERE ID IN ({1})", ObjectName, string.Join(",", parameters)),
150150
sqlParameters.ToArray());
151151
}
152152
}

0 commit comments

Comments
 (0)