db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: create package org.apache.torque.sql in torque runtime
Date Fri, 06 May 2011 15:55:53 GMT
On 05.05.11 15:31, Thomas Fox wrote:
> I'd like to create a new package org.apache.torque.sql for all classes
> which main purpose is SQL generation and storage of SQL (but classes which
> can be rendered into SQL like e.g. Criteria would stay where they are).
> This would serve two purposes:
> - The util package has become quite large and the sql generation classes
> serve a different purpose than most of the other classes (which are used
> directly by torque users)
> - The sql package could be declared as torque-internal (i.e. it is not
> considered API and we can change the method signatures there)

+1 Good Idea.

> The affected classes would be Query, SQLBuilder, JoinBuilder and
> SqlExpression in org.apache.torque.util.

I remember using one of these to extract the actual table name from a
column name (for a multi-table getColumnByPeerName()). Would be nice if
some of this would stay public.

> Any objections ?

No. Go ahead!

Bye, Thomas.

To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message