<div dir="ltr"><div>Hi, there is a code in this post that doesn&#39;t work:</div><div><br></div><div><a href="http://wildfly.org/news/2015/08/10/Javascript-Support-In-Wildfly/">http://wildfly.org/news/2015/08/10/Javascript-Support-In-Wildfly/</a></div><div><br></div><div>I&#39;m talking about the code with &quot;.alias(&#39;db&#39;&quot;</div><div><br></div><div>It is must change this line:</div><div>    return DB.select(&quot;select * from members&quot;);</div><div>to:</div><div>    return db.select(&quot;select * from member&quot;);</div><div><br></div><div>And the two &quot;insert&quot; used in this sample are using the same id... It is must change one of them.</div><div><br></div><div>Kind Regards,</div><div><b>Adriano Schmidt</b><br></div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small">+55 (48) 9172-1216</div><div style="font-size:small">Skype: schmidt.adriano</div><div style="font-size:small"><a href="http://www.localhost8080.com.br" target="_blank">www.localhost8080.com.br</a></div></div></div></div></div></div></div>
</div>