Hmm, ok.<br><br>I tried to get to the root cause of this issue, but since I am not familiar with Metawidget, I hit a road block around line 265 of FacesScaffold.java ( JavaClass viewBean = JavaParser.parse(JavaClass.class, this.backingBeanTemplate.render(context)); ) The template simply takes Metawidget&#39;s contents and inserts it, I&#39;m not sure how to continue.<br>
<br>Thomas or Richard, any chance you could take a look at this project (the result of running the new scaffold on a reverse engineered database.) and see what we can do to resolve this compliation issue?<br><br>It&#39;s specifically caused because the generated entities are using primitive types (short, long) instead of object types for their ID fields, so I guess we need to support both.<br>
<br>Thoughts? How easy is this to fix?<br><br>~Lincoln<br><br><div class="gmail_quote">On Tue, Mar 20, 2012 at 2:49 PM, Koen Aers <span dir="ltr">&lt;<a href="mailto:koen.aers@gmail.com">koen.aers@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In attachment the project that was generated from the sakila database (<a href="https://github.com/maxandersen/sakila-h2" target="_blank">https://github.com/maxandersen/sakila-h2</a>) using the hibernate tools plugin and scaffolding. It contains a number of problems related to primitive types and their object counterparts.<br>

<br>
<br>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;<br>