oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattm...@apache.org
Subject svn commit: r1160809 - in /oodt/trunk: CHANGES.txt workflow/src/main/java/org/apache/oodt/cas/workflow/repository/DataSourceWorkflowRepository.java
Date Tue, 23 Aug 2011 17:10:55 GMT
Author: mattmann
Date: Tue Aug 23 17:10:55 2011
New Revision: 1160809

URL: http://svn.apache.org/viewvc?rev=1160809&view=rev
Log:
- fix for OODT-311 Test failing related to workflow tasks and the DataSourceWorkflowRepository

Modified:
    oodt/trunk/CHANGES.txt
    oodt/trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/repository/DataSourceWorkflowRepository.java

Modified: oodt/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/oodt/trunk/CHANGES.txt?rev=1160809&r1=1160808&r2=1160809&view=diff
==============================================================================
--- oodt/trunk/CHANGES.txt (original)
+++ oodt/trunk/CHANGES.txt Tue Aug 23 17:10:55 2011
@@ -4,6 +4,9 @@ Apache OODT Change Log
 Release 0.4: Current Development
 --------------------------------------------
 
+* OODT-311 Test failing related to workflow tasks and the 
+  DataSourceWorkflowRepository (mattmann, riverma, Cecilia S. Cheng)
+
 * OODT-309 SequentialWorkflowProcessor doesn't need to be a 
   Thread (mattmann)
 

Modified: oodt/trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/repository/DataSourceWorkflowRepository.java
URL: http://svn.apache.org/viewvc/oodt/trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/repository/DataSourceWorkflowRepository.java?rev=1160809&r1=1160808&r2=1160809&view=diff
==============================================================================
--- oodt/trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/repository/DataSourceWorkflowRepository.java
(original)
+++ oodt/trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/repository/DataSourceWorkflowRepository.java
Tue Aug 23 17:10:55 2011
@@ -1386,7 +1386,7 @@ public class DataSourceWorkflowRepositor
       conn.setAutoCommit(false);
       statement = conn.createStatement();
 
-      String sql = "INSERT INTO workflow_tasks (workflow_task_name, workflow_task_class)
VALUES ('"
+      String sql = "INSERT INTO workflow_tasks (workflow_task_id, workflow_task_name, workflow_task_class)
VALUES (1, '"
           + task.getTaskName() + "', '"+task.getTaskInstanceClassName()+"')";
 
       LOG.log(Level.FINE, "commitTaskToDB: Executing: " + sql);



Mime
View raw message