jakarta-ecs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michel rodriguez <miker...@bigfoot.com>
Subject Re: Simple SQL generation based upon ECS
Date Tue, 07 May 2002 21:41:30 GMT
Le lun 06/05/2002 à 23:41, Jon Scott Stevens a écrit :
> on 5/6/02 2:35 PM, "michel rodriguez" <mikerodd@bigfoot.com> 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
> 
I didn't know Torque that's the reason :-)
After a (quick) look, Torque seems to be DDL orientated, my purpose was
to generate DML, specially Select queries



--
To unsubscribe, e-mail:   <mailto:ecs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ecs-dev-help@jakarta.apache.org>


Mime
View raw message