Simple SQL generation based upon ECS
michel rodriguez <[email protected]> 06 May 2002 23:35:39 +0200
| Newsgroups | gmane.comp.jakarta.ecs.devel |
|---|---|
| Message-ID | <1020720940.2175.23.camel@lamachine> |
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