How are you loading and compiling the dtable?
Guvnor uses org.drools.ide.common.server.util.GuidedDTXMLPersistence to
convert XML to and from the object model.
This in turn uses org.drools.ide.common.server.util.RepositoryUpgradeHelper
to convert from GuidedDecisionTable to GuidedDecisionTable52.
We had to make some essential changes for Guvnor 5.2 to support CEP
operators on the guided decision table.
With kind regards,
Mike
2011/7/12 Vincent LEGENDRE <vincent.legendre(a)eurodecision.com>
Hi all
We tried to use the 5.2.Final version of Guvnor, but the compilation fails
with an error saying that class "dtable" does not exists.
After looking more depply, it appears that the XML storage format has
changed in 5.2.Final :
- root XML is now "decision-table52" instead of "dtable"
- pattern is now "org.drools.guvnor.client.modeldriven.dt52.Pattern52"
with some condition-column grouped by fact, instead of independant
condition-column
- actions is now "insert-fact-column52" instead of the same thing without
version in it, but this time no structure changes ...
Is there a way to migrate old tables to new format ?
Changing a repository.xml by subtitutions is OK ?
Do we have to plan such problems for future versions ?
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users