don't you hate the rules? it was an interesting question... break the rules.<br><br><div class="gmail_quote">On Sat, Nov 28, 2009 at 2:50 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;">Eh? By definition you can't do anything with the type system at *runtime*!<br>
<div><div></div><div class="h5"><br>
On Sat, Nov 28, 2009 at 5:41 PM, Nicklas Karlsson <<a href="mailto:nickarls@gmail.com">nickarls@gmail.com</a>> wrote:<br>
> Would it be doable to use e.g. Javassist to transform a class into one<br>
> of those static typesafe "entity classes" at runtime?<br>
><br>
> On Sat, Nov 28, 2009 at 8:25 AM, Arbi Sookazian <<a href="mailto:asookazian@gmail.com">asookazian@gmail.com</a>> wrote:<br>
>> Looks like there are two tables (users and permissions) but testQuery2() and<br>
>> testQuery3() both select only from one table - users. So now we need a<br>
>> small db schema (i.e. data model). The typical customers and orders would<br>
>> suffice to demo FK and potential outer joins. How can I define customerId<br>
>> as a FK on orders table? Ideally, it would be nice to be able to do all<br>
>> this via tooling (i.e. exec a wizard that would generate the code for us).<br>
>> But we need to be able to do all this via the API for now...<br>
>><br>
>> On Fri, Nov 27, 2009 at 3:16 PM, Gavin King <<a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a>> wrote:<br>
>>><br>
>>> New rev, with ability to pass SQL as strings.<br>
>>><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>
>>> --<br>
>>> 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>
>>><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>
>><br>
>><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>
>><br>
><br>
><br>
><br>
> --<br>
> ---<br>
> Nik<br>
><br>
<br>
<br>
<br>
</div></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>
<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>
</div></div></blockquote></div><br>