
Done
Done
around r. 70
- support for either single file or multi-file (one java class per table) generation
around r. 65
- Remarks for Tables, Schema -> common base class/composite (name, remark,children, parent,add,remove operations)
- resolve foreign keys when looking up resourcebundles
- ant target for javadoc and jars (src, jequel, ant-jequel)
around r.50
- Ant Task for generation, compile generated java file directly to a jar and use this jar (no IDE-Java-parsing)
- Sql-Fragment libraries (sql.append(sql) or sql.appen(sql.where())
- foreign key as attribute of ColumnMetaData (done in a separate processor) not in Generator
- SqlString -> FormattedExpression { String toFormat(ExpressionFormatter) ), default Formats on Sql (static and instance) and as propagated parameter of toFormat())
- Q: have ExpressionFormatter format Expression
- refactor toString() -> extract method format(), addParameter DefaultSqlFormatter(), move format() to formatter for each toString method
- interface Appendable for ColumnTupelExpression, MutableBoolean etc. no appendFragment in Sql needed
r.24 to 28
- having and where as BooleanExpression
- Mutable Boolean Expression
- different TupleExpressions
- RowTupleExpression
- a java.util.Collection of Expressions (dynamically extendable (add), iterable, no fixed size)
- Table is one (AbstractTable)
- Sql, SubSelect is one
- in requires RowTupleExpression
- ColumnTupleExpression
- a Array of Expressions (static, fixed size, iterable)
- select,from,group by, order by
- statically allows append(E) (see QueryBuilder)
- dynamic SQL generation
- sql() keyword for inclusion of raw sql strings
- param() keyword for integration of params for Springs NamedParameterTemplate
around r.10 to r.20
- Schema name as Table class name (optional)
- Comment Foobar: different schema names in different databases for dev,test,integration,production system, so keep the schema information in javadoc but use a common class name (import problem)
- sub_select() as subclass of Sql generates parenthesed select
- IN-clause
- SchemaMetaData (rev. 20)
- Abstraction for SchemaMetaDataProcessor, SpringBean ready (rev. 21)
- ResourceBundleEnhancer (javadoc for Columns from ResourceBundles)
- runtest Ant Targets
- Using FindBugs + JDepend on the code