1 Reply Latest reply on Dec 12, 2005 7:28 AM by kukeltje

    Making milestones work

    peterpumpkin

      Hi,

      after several days of tinkering with version 3, we got Milestones to work by:

      1. persisting MilestoneInstance, MilestoneNode

      2. changing jbpm.varmapping.properties order of bottom lines:

      {hibernateable-long-id-classes} org.jbpm.context.exe.variableinstance.HibernateLongInstance
      {hibernateable-string-id-classes} org.jbpm.context.exe.variableinstance.HibernateStringInstance
      {serializable-classes} org.jbpm.context.exe.converter.SerializableToByteArrayConverter org.jbpm.context.exe.variableinstance.ByteArrayInstance
      


      this fix we got it by looking at VariableInstance.java: it falls in all cases to Serializable case, that's why we changed the properties. It definitively needs fixin'.

      Why milestones are not included from the very start ? Or milestones should not be used ?

      P.S. Why this forum is inserted in a bunch of irrelevant JBoss forums ? Hibernate' one is restricted to Hibernate relevant matters. Its hard to find things.