<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>a workaround could be to use a java pojo, not a declared fact<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Edson Tirelli" &lt;ed.tirelli@gmail.com&gt;<br><b>To: </b>"Rules Users List" &lt;rules-users@lists.jboss.org&gt;<br><b>Sent: </b>Friday, September 7, 2012 3:43:04 PM<br><b>Subject: </b>Re: [rules-users] Guvnor Declarative Model<br><br><div><br></div>&nbsp; &nbsp;Ouch, more than 255 fields? As of 5.4.x there is no workaround, the engine always tries to generate the constructor.&nbsp;<div><br></div><div>&nbsp; &nbsp;Can you please open a JIRA and we will fix this for the next release?</div>
<div><br></div><div>&nbsp; &nbsp;Thank you,</div><div>&nbsp; &nbsp;Edson<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 9:05 AM, JP Chemali <span dir="ltr">&lt;<a href="mailto:jshemali@hotmail.com" target="_blank">jshemali@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
I just stumbled into the same issue in 5.4.0.Final, I think this is caused<br>
by <a href="https://issues.jboss.org/browse/JBRULES-2652" target="_blank">https://issues.jboss.org/browse/JBRULES-2652</a><br>
When declaring a type, a constructor with all fields as parameters is<br>
generated automatically, but this causes in our case to hit a barrier of the<br>
Java language because the generated constructor has more than 255 parameters<br>
<br>
Anyone knows if this generation can be skipped (annotation or something<br>
else), maybe a safeguard not to generate the constructor when the limit is<br>
reached would be nice too?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-Declarative-Model-tp4019419p4019637.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-Declarative-Model-tp4019419p4019637.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>&nbsp; Edson Tirelli<br>&nbsp; JBoss Drools Core Development<br>&nbsp; JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
</div>
<br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/rules-users<br></div><br></div></body></html>