summaryrefslogtreecommitdiffstats
path: root/docs/05_releases.mkd
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2012-01-11 09:20:51 -0500
committerJames Moger <james.moger@gmail.com>2012-01-11 09:20:51 -0500
commit2e077918649d398dce0948cb3feeb61b925ee8a4 (patch)
tree2488329364248fb08e346314ba53399d9230bf64 /docs/05_releases.mkd
parent28d2cf5b30ba18f20db54ed9447bc19cb0e4e1b0 (diff)
downloadiciql-2e077918649d398dce0948cb3feeb61b925ee8a4.tar.gz
iciql-2e077918649d398dce0948cb3feeb61b925ee8a4.zip
Generate SELECT T0.* type statementsv0.7.8
* Fixed negative rollover bug in the AS counter. * Replaced the non-threadsafe AS counter with an AtomicInteger. * Added an optional alias parameter to Query.toSQL() and QueryWhere.toSQL() to force SELECT T0.* select lists * Fixed bug with Query.select(Z z) which assumed that z is always an anonymous inner class.
Diffstat (limited to 'docs/05_releases.mkd')
-rw-r--r--docs/05_releases.mkd9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/05_releases.mkd b/docs/05_releases.mkd
index 685120b..40f6cb8 100644
--- a/docs/05_releases.mkd
+++ b/docs/05_releases.mkd
@@ -6,6 +6,15 @@
**%VERSION%** ([zip](http://code.google.com/p/iciql/downloads/detail?name=%ZIP%)|[jar](http://code.google.com/p/iciql/downloads/detail?name=%JAR%)) &nbsp; *released %BUILDDATE%*
+- Replaced non-threadsafe counter used for assigning AS identifiers in JOIN statements with an AtomicInteger
+- Prevent negative rollover of the AS counter
+- Added optional alias parameter to *Query.toSQL* and *QueryWhere.toSQL* to force generated statement to prefix an AS identifier or, alternatively, the tablename.
+ - Query.toSQL(boolean distinct, K alias)
+ - QueryWhere.toSQL(boolean distinct, K alias)
+- Fixed bug in Query.select(Z z) which assumed that Z must always be an anonymous inner class which may not always be true. This allows for specifying an existing alias to force table or identifier usage in the generated select list. This is very useful for DISTINCT JOIN statements where only the columns of the primary table are of interest.
+
+**0.7.7** &nbsp; *released 2012-01-05*
+
- added *Query.toSQL()* and *QueryWhere.toSQL()* methods which, when combined with the following new methods, allows for generation of a parameterized, static sql string to be reused with a dynamic query or a PreparedStatement.
- QueryCondition.isParameter()
- QueryCondition.atLeastParameter()