How are you loading and compiling the dtable?<br><br>Guvnor uses org.drools.ide.common.server.util.GuidedDTXMLPersistence to convert XML to and from the object model.<br><br>This in turn uses org.drools.ide.common.server.util.RepositoryUpgradeHelper to convert from GuidedDecisionTable to GuidedDecisionTable52.<br>
<br>We had to make some essential changes for Guvnor 5.2 to support CEP operators on the guided decision table.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">2011/7/12 Vincent LEGENDRE <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);"><p>Hi all</p>

<p> </p>
<p>We tried to use the 5.2.Final version of Guvnor, but the compilation fails with an error saying that class &quot;dtable&quot; does not exists.</p>
<p>After looking more depply, it appears that the XML storage format has changed in 5.2.Final : </p>
<p>- root XML is now &quot;<font size="2">decision-table52<font size="3">&quot; instead of &quot;dtable&quot;</font></font></p>
<p>- pattern is now &quot;<font size="2">org.drools.guvnor.client.modeldriven.dt52.Pattern52</font>&quot; with some condition-column grouped by fact, instead of independant condition-column </p>
<p>- actions is now &quot;<font size="2">insert-fact-column</font>52&quot; instead of the same thing without version in it, but this time no structure changes ...</p>
<p> </p>
<p>Is there a way to migrate old tables to new format ? </p>
<p>Changing a repository.xml by subtitutions is OK ?</p>
<p>Do we have to plan such problems for future versions ?<br></p></div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>