[weld-dev] SQL framework proof of concept

Arbi Sookazian asookazian at gmail.com
Sat Nov 28 01:25:24 EST 2009


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...

On Fri, Nov 27, 2009 at 3:16 PM, Gavin King <gavin.king at gmail.com> wrote:

> New rev, with ability to pass SQL as strings.
>
> On Fri, Nov 27, 2009 at 4:47 PM, Gavin King <gavin.king at gmail.com> wrote:
> > Latest, with a new approach to specifying types.
> >
>
>
>
> --
> Gavin King
> gavin.king at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20091127/a5c34028/attachment.html 


More information about the weld-dev mailing list