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: [email protected] For additional commands, e-mail: [email protected]
