Re: Simple SQL generation based upon ECS

Jon Scott Stevens <[email protected]> Mon, 06 May 2002 14:41:06 -0700
Newsgroups gmane.comp.jakarta.ecs.devel
Message-ID <B8FC4682.29CF2%[email protected]>
on 5/6/02 2:35 PM, "michel rodriguez" <[email protected]> wrote:

> Hi
> 
> I coded a simple, Oracle orientated SQL subset of classes, upon ECS.
> Very far from jdo. I needed for a dynamic SQL query tool project at
> work. 
> 
> It looks like that
> 
> query = new SQLQuery()
>            .addElement(new SQLSelectElement("field1",alias1")
>            .addElement(new SQLFromElement("table1","tab1")
> ...
> ---> SELECT field1 AS alias1 FROM table1 tab1 ...
> 
> and so on
> 
> I could clean it up and make it Turbine Compliant if there is an
> interest to commit it into ECS.
> 
> Tell me what do you think about it

Why not just use Torque?

-jon