Looks like there are two tables (users and permissions) but testQuery2() and testQuery3() both select only from one table - users. So now we need a small db schema (i.e. data model). The typical customers and orders would suffice to demo FK and potential outer joins. How can I define customerId as a FK on orders table? Ideally, it would be nice to be able to do all this via tooling (i.e. exec a wizard that would generate the code for us). But we need to be able to do all this via the API for now...<br>
<br><div class="gmail_quote">On Fri, Nov 27, 2009 at 3:16 PM, Gavin King <span dir="ltr"><<a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
New rev, with ability to pass SQL as strings.<br>
<div class="im"><br>
On Fri, Nov 27, 2009 at 4:47 PM, Gavin King <<a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a>> wrote:<br>
> Latest, with a new approach to specifying types.<br>
><br>
<br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">Gavin King<br>
<a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a><br>
<a href="http://in.relation.to/Bloggers/Gavin" target="_blank">http://in.relation.to/Bloggers/Gavin</a><br>
<a href="http://hibernate.org" target="_blank">http://hibernate.org</a><br>
<a href="http://seamframework.org" target="_blank">http://seamframework.org</a><br>
</div></div><br>_______________________________________________<br>
weld-dev mailing list<br>
<a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br></blockquote></div><br>