Permalink
Browse files

Merge pull request #45 from skurdiukov/master

UpdateExtendedTriggerProperties does not work with OracleDelegate
  • Loading branch information...
2 parents e40645c + 57a41e9 commit e367ab5c7dc61e7bca69b3360941a19a1dc48397 @lahma lahma committed Jun 2, 2012
View
4 src/Quartz/Impl/AdoJobStore/SimplePropertiesTriggerPersistenceDelegateSupport.cs
@@ -196,8 +196,8 @@ public int UpdateExtendedTriggerProperties(ConnectionAndTransactionHolder conn,
DbAccessor.AddCommandParameter(cmd, "long2", properties.Long2);
DbAccessor.AddCommandParameter(cmd, "decimal1", properties.Decimal1);
DbAccessor.AddCommandParameter(cmd, "decimal2", properties.Decimal2);
- DbAccessor.AddCommandParameter(cmd, "boolean1", properties.Boolean1);
- DbAccessor.AddCommandParameter(cmd, "boolean2", properties.Boolean2);
+ DbAccessor.AddCommandParameter(cmd, "boolean1", DbAccessor.GetDbBooleanValue(properties.Boolean1));
+ DbAccessor.AddCommandParameter(cmd, "boolean2", DbAccessor.GetDbBooleanValue(properties.Boolean2));
DbAccessor.AddCommandParameter(cmd, "triggerName", trigger.Key.Name);
DbAccessor.AddCommandParameter(cmd, "triggerGroup", trigger.Key.Group);

0 comments on commit e367ab5

Please sign in to comment.