1 Reply Latest reply on Jan 18, 2008 2:03 PM by jdbertron

    Process Instance Var Delete, (bug?)

    mattowens

      Hi,

      I've been working with JBPM for a while now, i've downloaded the source from CVS, everything seems to work fine except the deletion of process instance variables.

      As part of my unit tests, the code checks the database to which hibernate is connecting (Oracle in this case), to see if the tables are left in exactly the same state as which they began. All tests pass except the deletion of process instance variables.

      The strange thing is, the runtime reports the variable as deleted getProcessInstance.getVariables().size() is returned as 0, even though the records still exist in the db table jbpm_variableinstance.

      Is this by design?
      Thanks
      M