diff --git a/jOOQ-codegen-maven-example/pom.xml b/jOOQ-codegen-maven-example/pom.xml index 8e021ae35f..5251c1731e 100644 --- a/jOOQ-codegen-maven-example/pom.xml +++ b/jOOQ-codegen-maven-example/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-codegen-maven-example - 2.0.1-SNAPSHOT + 2.0.1 jar jOOQ Codegen Maven @@ -51,7 +51,7 @@ org.jooq jooq - 2.0.1-SNAPSHOT + 2.0.1 jar compile @@ -99,7 +99,7 @@ org.jooq jooq-codegen-maven - 2.0.1-SNAPSHOT + 2.0.1 exec1 diff --git a/jOOQ-codegen-maven/pom.xml b/jOOQ-codegen-maven/pom.xml index befe109732..c00ee97a04 100644 --- a/jOOQ-codegen-maven/pom.xml +++ b/jOOQ-codegen-maven/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-codegen-maven - 2.0.1-SNAPSHOT + 2.0.1 maven-plugin jOOQ Codegen Maven @@ -160,7 +160,7 @@ org.jooq jooq-codegen - 2.0.1-SNAPSHOT + 2.0.1 jar diff --git a/jOOQ-codegen/pom.xml b/jOOQ-codegen/pom.xml index 28ee7ff5c0..b07e9904c0 100644 --- a/jOOQ-codegen/pom.xml +++ b/jOOQ-codegen/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq-codegen - 2.0.1-SNAPSHOT + 2.0.1 jar jOOQ Codegen @@ -150,14 +150,14 @@ org.jooq jooq - 2.0.1-SNAPSHOT + 2.0.1 jar compile org.jooq jooq-meta - 2.0.1-SNAPSHOT + 2.0.1 jar compile diff --git a/jOOQ-meta/pom.xml b/jOOQ-meta/pom.xml index e25893c7f1..9736046049 100644 --- a/jOOQ-meta/pom.xml +++ b/jOOQ-meta/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-meta - 2.0.1-SNAPSHOT + 2.0.1 jar jOOQ Meta @@ -149,7 +149,7 @@ org.jooq jooq - 2.0.1-SNAPSHOT + 2.0.1 jar compile diff --git a/jOOQ-release/build.xml b/jOOQ-release/build.xml index 17d8e77f8f..a7ddfca88a 100644 --- a/jOOQ-release/build.xml +++ b/jOOQ-release/build.xml @@ -6,7 +6,7 @@ - + diff --git a/jOOQ-release/release/template/RELEASENOTES.txt b/jOOQ-release/release/template/RELEASENOTES.txt index 71d4ce1bfb..f3a8fa4599 100644 --- a/jOOQ-release/release/template/RELEASENOTES.txt +++ b/jOOQ-release/release/template/RELEASENOTES.txt @@ -9,6 +9,97 @@ http://www.jooq.org/notes.php For a text version, see http://www.jooq.org/inc/RELEASENOTES.txt +Version 2.0.1 - December 23, 2011 +================================================================= + +This is a maintenance release for jOOQ 2.0. The main improvements +include + +- Better integration for using jOOQ with Spring Data. This + includes support for named parameters, as well as allowing to + change bind values on previously constructed Query objects +- The MERGE statement has been enhanced for better integration + with Oracle. +- jOOQ is now ready to use with Scala / Groovy + +For more information about using jOOQ with Scala, see this blog +post: +http://lukaseder.wordpress.com/2011/12/11/the-ultimate-sql-dsl-jooq-in-scala/ + +There is now also experimental support for a custom type mapping. +This mapping allows to rewrite data types at code generation time +as well as to specify custom enum data types (e.g. boolean Y/N). +Not all integration tests run smoothly for custom data types, +hence, this feature is not yet fully supported. + +Features and improvements +------------------------- +#691 - Add support for Oracle CURSOR REF IN / INOUT parameters +#677 - Add type-mapping configuration, enforcing types for + columns +#947 - Add custom type mapping support (experimental) +#968 - Allow for custom enum types, configured in the code + generator (experimental) +#974 - Add Schema.getTable(String), getSequence(String), + getUDT(String) for better runtime Schema meta-navigation +#975 - Add Sequence.getName(), getSchema(), getDataType() +#980 - Add support for named parameters, to better interact with + Spring +#991 - Add Query.bind(String, Object) and bind(int, Object) to + easily modify existing bind values +#992 - Document thrown DataTypeException in Convert methods +#998 - Enhance MERGE statement for Oracle extensions: + WHEN MATCHED THEN UPDATE .. WHERE .. DELETE WHERE .. + WHEN NOT MATCHED THEN INSERT .. WHERE .. +#1000 - Add support for MySQL's INSERT INTO .. SET .. syntax in + MERGE statement's WHEN NOT MATCHED THEN INSERT clause + +API changes (backwards-compatible) +---------------------------------- +#981 - Cannot insertInto(table("my_table")), as plain SQL tables + return Table, not Table. Relax + bound on R +#988 - Change Factory.field(String) to return Field + instead of Field +#999 - Make MERGE's WHEN MATCHED .. and WHEN NOT MATCHED .. + clauses optional +#1001 - Identity.getField() should return TableField + instead of Field +#1006 - Add Factory.value(...) as a synonym for Factory.val(...) + for increased Scala / Groovy compatibility + +Bug fixes +--------- +#973 - EnumType renders name() instead of getLiteral() in + formatXXX() methods +#977 - EnumType renders name() instead of getLiteral() in + Convert.convert() method +#979 - Record.from() sets all changed flags to true. That's not + necessarily correct in the event of storing the record + back to the DB +#985 - AbstractRecord.equals() does not correctly compare + arrays. Compare them using Arrays.asList() +#986 - Postgres / DB2 / Sybase ASE foreign-key namespace is + unique-per-table. jOOQ forces all foreign keys from all + tables into the same namespace +#990 - Problems when encoding arbitrary byte[] as String(byte[]) + in inlined SQL. This can cause issues when DEBUG-level + logging is activated +#995 - Routines don't respect SchemaMapping - Github issue #8 +#1002 - TableRecord.storeUsing() doesn't update IDENTITY column + values, if the column is not part of the main unique key +#1003 - Sybase / SQL Server / MySQL / Ingres / H2 / Derby's + INSERT .. RETURNING simulation returns null if a table + has an IDENTITY column, but no primary/unique key +#1005 - The INSERT INTO .. VALUES .. syntax may cause type-safety + issues in some databases. VALUES should be converted + before binding + +Test cases +---------- +#984 - Detach IDENTITY column tests from UNIQUE KEY tests, + create a dedicated test suite instead + Version 2.0.0 - November 25, 2011 ================================================================= This release is a fresh start in many areas of jOOQ, adressing diff --git a/jOOQ-spring/pom.xml b/jOOQ-spring/pom.xml index d5bc7d3ef3..befa4d66d8 100644 --- a/jOOQ-spring/pom.xml +++ b/jOOQ-spring/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq-spring - 2.0.1-SNAPSHOT + 2.0.1 jar jOOQ Spring @@ -188,7 +188,7 @@ org.jooq jooq - 2.0.1-SNAPSHOT + 2.0.1 jar compile diff --git a/jOOQ-website/inc/RELEASENOTES.txt b/jOOQ-website/inc/RELEASENOTES.txt index 71d4ce1bfb..f3a8fa4599 100644 --- a/jOOQ-website/inc/RELEASENOTES.txt +++ b/jOOQ-website/inc/RELEASENOTES.txt @@ -9,6 +9,97 @@ http://www.jooq.org/notes.php For a text version, see http://www.jooq.org/inc/RELEASENOTES.txt +Version 2.0.1 - December 23, 2011 +================================================================= + +This is a maintenance release for jOOQ 2.0. The main improvements +include + +- Better integration for using jOOQ with Spring Data. This + includes support for named parameters, as well as allowing to + change bind values on previously constructed Query objects +- The MERGE statement has been enhanced for better integration + with Oracle. +- jOOQ is now ready to use with Scala / Groovy + +For more information about using jOOQ with Scala, see this blog +post: +http://lukaseder.wordpress.com/2011/12/11/the-ultimate-sql-dsl-jooq-in-scala/ + +There is now also experimental support for a custom type mapping. +This mapping allows to rewrite data types at code generation time +as well as to specify custom enum data types (e.g. boolean Y/N). +Not all integration tests run smoothly for custom data types, +hence, this feature is not yet fully supported. + +Features and improvements +------------------------- +#691 - Add support for Oracle CURSOR REF IN / INOUT parameters +#677 - Add type-mapping configuration, enforcing types for + columns +#947 - Add custom type mapping support (experimental) +#968 - Allow for custom enum types, configured in the code + generator (experimental) +#974 - Add Schema.getTable(String), getSequence(String), + getUDT(String) for better runtime Schema meta-navigation +#975 - Add Sequence.getName(), getSchema(), getDataType() +#980 - Add support for named parameters, to better interact with + Spring +#991 - Add Query.bind(String, Object) and bind(int, Object) to + easily modify existing bind values +#992 - Document thrown DataTypeException in Convert methods +#998 - Enhance MERGE statement for Oracle extensions: + WHEN MATCHED THEN UPDATE .. WHERE .. DELETE WHERE .. + WHEN NOT MATCHED THEN INSERT .. WHERE .. +#1000 - Add support for MySQL's INSERT INTO .. SET .. syntax in + MERGE statement's WHEN NOT MATCHED THEN INSERT clause + +API changes (backwards-compatible) +---------------------------------- +#981 - Cannot insertInto(table("my_table")), as plain SQL tables + return Table, not Table. Relax + bound on R +#988 - Change Factory.field(String) to return Field + instead of Field +#999 - Make MERGE's WHEN MATCHED .. and WHEN NOT MATCHED .. + clauses optional +#1001 - Identity.getField() should return TableField + instead of Field +#1006 - Add Factory.value(...) as a synonym for Factory.val(...) + for increased Scala / Groovy compatibility + +Bug fixes +--------- +#973 - EnumType renders name() instead of getLiteral() in + formatXXX() methods +#977 - EnumType renders name() instead of getLiteral() in + Convert.convert() method +#979 - Record.from() sets all changed flags to true. That's not + necessarily correct in the event of storing the record + back to the DB +#985 - AbstractRecord.equals() does not correctly compare + arrays. Compare them using Arrays.asList() +#986 - Postgres / DB2 / Sybase ASE foreign-key namespace is + unique-per-table. jOOQ forces all foreign keys from all + tables into the same namespace +#990 - Problems when encoding arbitrary byte[] as String(byte[]) + in inlined SQL. This can cause issues when DEBUG-level + logging is activated +#995 - Routines don't respect SchemaMapping - Github issue #8 +#1002 - TableRecord.storeUsing() doesn't update IDENTITY column + values, if the column is not part of the main unique key +#1003 - Sybase / SQL Server / MySQL / Ingres / H2 / Derby's + INSERT .. RETURNING simulation returns null if a table + has an IDENTITY column, but no primary/unique key +#1005 - The INSERT INTO .. VALUES .. syntax may cause type-safety + issues in some databases. VALUES should be converted + before binding + +Test cases +---------- +#984 - Detach IDENTITY column tests from UNIQUE KEY tests, + create a dedicated test suite instead + Version 2.0.0 - November 25, 2011 ================================================================= This release is a fresh start in many areas of jOOQ, adressing diff --git a/jOOQ/pom.xml b/jOOQ/pom.xml index 4c673726c2..67d50803bc 100644 --- a/jOOQ/pom.xml +++ b/jOOQ/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq - 2.0.1-SNAPSHOT + 2.0.1 jar jOOQ