diff --git a/jOOQ-codegen-maven-example/pom.xml b/jOOQ-codegen-maven-example/pom.xml index 83ada6747a..e2b3ba600e 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 - 1.6.8-SNAPSHOT + 1.6.8 jar jOOQ Codegen Maven @@ -51,7 +51,7 @@ org.jooq jooq - 1.6.8-SNAPSHOT + 1.6.8 jar compile @@ -84,7 +84,7 @@ org.jooq jooq-codegen-maven - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/jOOQ-codegen-maven/pom.xml b/jOOQ-codegen-maven/pom.xml index 15cced8b38..714b24e1ce 100644 --- a/jOOQ-codegen-maven/pom.xml +++ b/jOOQ-codegen-maven/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-codegen-maven - 1.6.8-SNAPSHOT + 1.6.8 maven-plugin jOOQ Codegen Maven @@ -160,7 +160,7 @@ org.jooq jooq-codegen - 1.6.8-SNAPSHOT + 1.6.8 jar diff --git a/jOOQ-codegen/pom.xml b/jOOQ-codegen/pom.xml index 4f3d5bd8d7..1b9e70fb78 100644 --- a/jOOQ-codegen/pom.xml +++ b/jOOQ-codegen/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq-codegen - 1.6.8-SNAPSHOT + 1.6.8 jar jOOQ Codegen @@ -150,14 +150,14 @@ org.jooq jooq - 1.6.8-SNAPSHOT + 1.6.8 jar compile org.jooq jooq-meta - 1.6.8-SNAPSHOT + 1.6.8 jar compile diff --git a/jOOQ-meta/pom.xml b/jOOQ-meta/pom.xml index a5db08f13d..644b2862d2 100644 --- a/jOOQ-meta/pom.xml +++ b/jOOQ-meta/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-meta - 1.6.8-SNAPSHOT + 1.6.8 jar jOOQ Meta @@ -149,7 +149,7 @@ org.jooq jooq - 1.6.8-SNAPSHOT + 1.6.8 jar compile diff --git a/jOOQ-release/build.xml b/jOOQ-release/build.xml index b5eef2a7e9..f1703f65a2 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 74203e33ef..2916db18c6 100644 --- a/jOOQ-release/release/template/RELEASENOTES.txt +++ b/jOOQ-release/release/template/RELEASENOTES.txt @@ -9,6 +9,114 @@ http://www.jooq.org/notes.php For a text version, see http://jooq.sourceforge.net/releasenotes/RELEASENOTES.txt +Version 1.6.8 - October 22, 2011 +================================================================= +The main improvement of this release is the re-design of the +stored procedure / function API. With 12 supported RDBMS, which +all have their own idea about what is a stored procedure and what +is a stored function, it has proven to be a better design, to +unite them in one single type: org.jooq.Routine. A routine can +have a return value as well as OUT parameters. It can be embedded +in SQL and used as a field or a table. + +This means, you will need to re-generate your database schema, +when upgrading to jOOQ 1.6.8. After re-generation, you'll need to +fix your client code. These are the package changes: + +- [generated.package].procedures > [generated.package].routines +- [generated.package].functions > [generated.package].routines +- [generated.package].Procedures > [generated.package].Routines +- [generated.package].Functions > [generated.package].Routines + +Oracle generated packages are not re-located. With these +improvements, using stored procedures and functions becomes even +more reliable, especially when cursor types are involved. Read +more about the rationale behind this change: + +http://lukaseder.wordpress.com/2011/10/17/what-are-procedures-and-functions-after-all/ + +Apart from that, important improvements have been made in the +area of plain SQL tables. Also, consider a demo integration of +jOOQ with Google Cloud SQL: + +http://lukaseder.wordpress.com/2011/10/22/jooq-and-google-cloud-sql-example/ + +Features and improvements +------------------------- +#271 - Don't pre-fetch table meta data when selecting from plain + SQL tables +#489 - Add support for SELECT * (i.e. render SELECT * where + applicable) +#596 - Add support for VARIANCE() and STDDEV() OVER() window + functions +#608 - Add jOOQ version number in generated source code +#670 - Add more Javadoc to Field.xxx() functions +#692 - Add support for ResultSet type returned from HSQLDB + stored functions +#850 - Use http://www.jooq.org as URL for the @Generated + annotation +#854 - Add convenience methods Fields.isTrue(), isFalse() for + conversion of "Y", "YES", "1", "true", "on", etc into a + boolean condition +#870 - Add support for MEDIAN aggregate function +#872 - Add support for STDDEV_POP(), STDDEV_SAMP(), VAR_POP(), + VAR_SAMP() aggregate functions +#874 - Reduce the number of internal classes for dialect-specific + function aliases +#878 - Implement DataType.equals() and hashCode() + +API changes (backwards-compatible) +---------------------------------- +#851 - Change Field.{sortAsc|sortDesc}(List sortList) into + Field.{sortAsc|sortDesc}(Collection sortList) + +API changes (backwards-incompatible) +------------------------------------ +#848 - Purge deprecated API - Prior to 1.6.1 +#849 - Replace Cursor.fetchResult() by Cursor.fetch() +#852 - Review stored procedures / functions concept. Merge them + all into a single "Routine" type + +Bug fixes +--------- +#756 - Error when aliasing HSQLDB and Postgres unnested tables +#761 - Exception when TRACE logging execution with plain SQL + tables involved +#773 - Execute standalone stored functions as CallableStatement + to prevent issues with transactions +#847 - Query.getSQL() doesn't render dialect-specific SQL when + Query is constructed using the fluent API +#853 - DB2 generated convenience methods for stored functions + have unstable ordering +#857 - Derby casting of numeric types to String / VARCHAR does + not work +#858 - SQLDataType.getSQLDataType() should return itself, instead + of null +#860 - SQLite CEIL function is incorrectly simulated. CEIL(2.0) + returns 3.0 instead of 2.0 +#861 - Field.replace(String) generates bad SQL for various RDBMS. + Field.replace(String, String) works, though +#863 - Ingres integration generates illegal SQL when selecting + things like SELECT 1 WHERE 1 = 1 +#866 - Sybase ASE Field.replace(String) function incorrectly + removes the argument string +#873 - Error when selecting two times the same aggregate field +#877 - Compilation error in generated source code when a table + without a primary key has an identity column +#879 - Add Google Cloud SQL Example +#880 - Query.getSQL() does not consider SchemaMapping + +Test cases +---------- +#811 - Loader integration tests fail for SQLite +#812 - CSV Loader test leaves Postgres JDBC connection in an + inconsistent transactional state on error +#856 - Add integration tests for Field.abs() +#865 - Add integration tests for Field.ascii() +#867 - Add integration tests for Field.sum(), avg(), max(), min() +#881 - Re-design H2 stored functions to be pre-compiled, in order + to speed up integration tests + Version 1.6.7 - September 25, 2011 ================================================================= diff --git a/jOOQ/pom.xml b/jOOQ/pom.xml index f8d99b86b5..90017417a8 100644 --- a/jOOQ/pom.xml +++ b/jOOQ/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq - 1.6.8-SNAPSHOT + 1.6.8 jar jOOQ