From 373a5c74f4c5e8cc19812a63893f6090d8f14b95 Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 12 Aug 2011 14:55:02 -0400 Subject: Documentation. Source cleanup. Prepare 0.6.4 release. --- docs/05_releases.mkd | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'docs/05_releases.mkd') diff --git a/docs/05_releases.mkd b/docs/05_releases.mkd index 5eba86f..a837a31 100644 --- a/docs/05_releases.mkd +++ b/docs/05_releases.mkd @@ -8,21 +8,26 @@ - api change release (API v4) - @IQTable.createIfRequired -> @IQTable.create -- don't INSERT primitive autoIncrement primaryKey fields, let database assign value +- don't INSERT primitive autoIncrement fields, let database assign value - full support for primitives in all clauses - DECIMAL(length, scale) support - unspecified length String fields are now CLOB instead of TEXT. dialects can intercept this and convert to another type. e.g. MySQL dialect can change CLOB to TEXT. -- Boolean now maps to BOOLEAN instead of BIT +- java.lang.Boolean now maps to BOOLEAN instead of BIT - expressions on unmapped fields will throw an IciqlException -- improved exception reporting +- expressions on unsupported types will throw an IciqlException +- improved exception reporting by including generated statement, if available - moved dialects back to main package - improved automatic dialect determination on pooled connections - moved create table and create index statement generation into dialects -- added HSQL dialect. HSQL fails 4 out of 49 unit tests: 2 failures are unimplemented merge, and 1 has been filed as a [bug in HSQL](https://sourceforge.net/tracker/?func=detail&aid=3390047&group_id=23316&atid=378131). -- added MySQL dialect. untested. +- added HSQL dialect. HSQL fails 4 out of 50 unit tests. + - 2 failures are unimplemented merge + - 1 has been filed and accepted as a [bug in HSQL](https://sourceforge.net/tracker/?func=detail&aid=3390047&group_id=23316&atid=378131) + - 1 is a concurrency issue, but the test may not be flawed +- added untested MySQL dialect - renamed _ iq_versions table to *iq_versions* since leading _ character is troublesome for some databases. - @IQColumn(allowNull=true) -> @IQColumn(nullable=true) -- All columns are assumed NULLABLE unless explicitly set *@IQColumn(nullable = false)* +- All **Object** columns are assumed NULLABLE unless explicitly set *@IQColumn(nullable = false)* +- All **Primitive** columns are assumed NOT NULLABLE unless explicitly set *@IQColumn(nullable = true)* - allow using objects to assign default values
%BEGINCODE% // CREATE TABLE ... myDate DATETIME DEFAULT '2000-02-01 00:00:00' -- cgit v1.2.3