From 0932e559b420d46f8394a464c466804c1df0ede1 Mon Sep 17 00:00:00 2001 From: James Moger Date: Wed, 4 Jan 2012 22:12:56 -0500 Subject: Disallow multiple instances of an enum within a model class --- docs/05_releases.mkd | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/05_releases.mkd') diff --git a/docs/05_releases.mkd b/docs/05_releases.mkd index 33a3e6a..685120b 100644 --- a/docs/05_releases.mkd +++ b/docs/05_releases.mkd @@ -6,6 +6,18 @@ **%VERSION%** ([zip](http://code.google.com/p/iciql/downloads/detail?name=%ZIP%)|[jar](http://code.google.com/p/iciql/downloads/detail?name=%JAR%))   *released %BUILDDATE%* +- 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() + - QueryCondition.atMostParameter() + - QueryCondition.exceedsParameter() + - QueryCondition.lessThanParameter() + - QueryCondition.likeParameter() + - QueryCondition.isNotParameter() +- Disallow **declaring and explicitly referencing** multiple instances of an enum type within a single model.
A runtime exception will be thrown if an attempt to use where/set/on/and/or/groupBy/orderBy(enum) and your model has multiple fields of a single enum type. + +**0.7.6**   *released 2011-12-21* + - Iciql now tries to instantiate a default value from an annotated default value IFF the field object is null, it is specified *nullable = false*, and a defaultValue exists. This only applies to *db.insert* or *db.update*. **0.7.5**   *released 2011-12-12* -- cgit v1.2.3