Return-Path: Delivered-To: apmail-openjpa-commits-archive@www.apache.org Received: (qmail 50648 invoked from network); 13 May 2008 00:30:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 00:30:19 -0000 Received: (qmail 17584 invoked by uid 500); 13 May 2008 00:30:21 -0000 Delivered-To: apmail-openjpa-commits-archive@openjpa.apache.org Received: (qmail 17573 invoked by uid 500); 13 May 2008 00:30:21 -0000 Mailing-List: contact commits-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list commits@openjpa.apache.org Received: (qmail 17561 invoked by uid 99); 13 May 2008 00:30:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 17:30:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 00:29:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C3DB82388A0D; Mon, 12 May 2008 17:29:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r655702 [1/2] - in /openjpa/branches/1.1.0: ./ openjpa-all/ openjpa-examples/ openjpa-integration/ openjpa-integration/examples/ openjpa-integration/tck/ openjpa-jdbc/ openjpa-kernel/ openjpa-lib/ openjpa-persistence-jdbc/ openjpa-persisten... Date: Tue, 13 May 2008 00:29:51 -0000 To: commits@openjpa.apache.org From: pcl@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080513002952.C3DB82388A0D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pcl Date: Mon May 12 17:29:50 2008 New Revision: 655702 URL: http://svn.apache.org/viewvc?rev=655702&view=rev Log: Updated versions etc. to 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-all/pom.xml openjpa/branches/1.1.0/openjpa-examples/pom.xml openjpa/branches/1.1.0/openjpa-integration/examples/pom.xml openjpa/branches/1.1.0/openjpa-integration/pom.xml openjpa/branches/1.1.0/openjpa-integration/tck/pom.xml openjpa/branches/1.1.0/openjpa-jdbc/pom.xml openjpa/branches/1.1.0/openjpa-kernel/pom.xml openjpa/branches/1.1.0/openjpa-lib/pom.xml openjpa/branches/1.1.0/openjpa-persistence-jdbc/pom.xml openjpa/branches/1.1.0/openjpa-persistence/pom.xml openjpa/branches/1.1.0/openjpa-project/BUILDING.txt openjpa/branches/1.1.0/openjpa-project/CHANGES.txt openjpa/branches/1.1.0/openjpa-project/RELEASE-NOTES.html openjpa/branches/1.1.0/openjpa-project/pom.xml openjpa/branches/1.1.0/openjpa-slice/pom.xml openjpa/branches/1.1.0/openjpa-xmlstore/pom.xml openjpa/branches/1.1.0/pom.xml Modified: openjpa/branches/1.1.0/openjpa-all/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-all/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-all/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-all/pom.xml Mon May 12 17:29:50 2008 @@ -28,7 +28,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-examples/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-examples/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-examples/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-examples/pom.xml Mon May 12 17:29:50 2008 @@ -30,7 +30,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-integration/examples/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-integration/examples/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-integration/examples/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-integration/examples/pom.xml Mon May 12 17:29:50 2008 @@ -37,7 +37,7 @@ org.apache.openjpa openjpa-integration - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-integration/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-integration/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-integration/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-integration/pom.xml Mon May 12 17:29:50 2008 @@ -28,7 +28,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 examples Modified: openjpa/branches/1.1.0/openjpa-integration/tck/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-integration/tck/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-integration/tck/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-integration/tck/pom.xml Mon May 12 17:29:50 2008 @@ -60,7 +60,7 @@ org.apache.openjpa openjpa-integration - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-jdbc/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-jdbc/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-jdbc/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-jdbc/pom.xml Mon May 12 17:29:50 2008 @@ -30,7 +30,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-kernel/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-kernel/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-kernel/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-kernel/pom.xml Mon May 12 17:29:50 2008 @@ -30,7 +30,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-lib/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-lib/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-lib/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-lib/pom.xml Mon May 12 17:29:50 2008 @@ -30,7 +30,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-persistence-jdbc/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-persistence-jdbc/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-persistence-jdbc/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-persistence-jdbc/pom.xml Mon May 12 17:29:50 2008 @@ -30,7 +30,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 INFO Modified: openjpa/branches/1.1.0/openjpa-persistence/pom.xml URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-persistence/pom.xml?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-persistence/pom.xml (original) +++ openjpa/branches/1.1.0/openjpa-persistence/pom.xml Mon May 12 17:29:50 2008 @@ -30,7 +30,7 @@ org.apache.openjpa openjpa-parent - 1.1.0-SNAPSHOT + 1.1.0 Modified: openjpa/branches/1.1.0/openjpa-project/BUILDING.txt URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-project/BUILDING.txt?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-project/BUILDING.txt (original) +++ openjpa/branches/1.1.0/openjpa-project/BUILDING.txt Mon May 12 17:29:50 2008 @@ -28,13 +28,13 @@ java -version OpenJPA requires Java 1.5 but will not compile with Java 6. For more detail please see http://issues.apache.org/jira/browse/OPENJPA-5. - 2. Install the build tool Apache Maven 2.0.4, from http://maven.apache.org/. + 2. Install the build tool Apache Maven 2.0.6, from http://maven.apache.org/. If it is installed correctly, typing mvn -v from the console will result - in the text "Maven version: 2.0.4" + in the text "Maven version: 2.0.6" 3. Extract the source archive if you have not already done so. The source will create a new directory named: - openjpa-project-${version}-source. Where ${version} is the openjpa - version, for example openjpa-project-0.9.7-incubating-source. + openjpa--source. Where is the openjpa + version, for example apache-openjpa-1.1.0-source. 4. Change to the openjpa source directory, which has already been created in the previous step. 5. Build OpenJPA by running: mvn package or better mvn install. @@ -56,7 +56,7 @@ If any tests fail, and you want to ignore the failures, instead run: - mvn package -Dtest=false + mvn package -DskipTests An example session as as follows: Modified: openjpa/branches/1.1.0/openjpa-project/CHANGES.txt URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-project/CHANGES.txt?rev=655702&r1=655701&r2=655702&view=diff ============================================================================== --- openjpa/branches/1.1.0/openjpa-project/CHANGES.txt (original) +++ openjpa/branches/1.1.0/openjpa-project/CHANGES.txt Mon May 12 17:29:50 2008 @@ -1,22 +1,20 @@ Release Notes for OpenJPA - * Overview - * License - * Prerequisites - * Documentation - * Getting Involved - * Bugs - * Improvements - * New Features - * Task - * Test + * Overview + * License + * Prerequisites + * Documentation + * Getting Involved + * Bugs + * Improvements + * New Features + * Task + * Test Overview - These notes describe the difference between OpenJPA release 1.0.0 and the - preceding releases, 0.9.6 and 0.9.7. 1.0.0 is the first major release - since OpenJPA graduated to an Apache top level project (TLP), and contains - many new features and bugfixes. + These notes describe the difference between OpenJPA release 1.1.0 and the + preceding releases, 0.9.6, 0.9.7, and 1.0.0. OpenJPA is a feature-rich implementation of the persistence part of Java Community Process JSR-220 (Enterprise JavaBeans 3.0), which is known as @@ -50,8 +48,8 @@ Prerequisites - OpenJPA requires Java 1.5 but will not compile with Java 6. For more - detail please see http://issues.apache.org/jira/browse/OPENJPA-5 + In normal usage, OpenJPA requires Java 5 or higher and a relational + database of some sort. Documentation @@ -71,113 +69,436 @@ the open source community - we welcome your input and contributions! What we are looking for - * Source code and fixes contributions - * Documentation assistance - * Product and feature suggestions - * Detailed and constructive feedback - * Articles and whitepapers + * Source code and fixes contributions + * Documentation assistance + * Product and feature suggestions + * Detailed and constructive feedback + * Articles and whitepapers How do I Contribute? - * To discuss Apache OpenJPA topics check out the mailing lists. - * Informal discussion also occurs on the #openjpa IRC channel on + * To discuss Apache OpenJPA topics check out the mailing lists. + * Informal discussion also occurs on the #openjpa IRC channel on freenode.net. - * Bugs and other issues can be posted on the project JIRA. + * Bugs and other issues can be posted on the project JIRA. + + OpenJPA 1.1.0 Release Notes + +New Features + * [OPENJPA-130] - Streaming LOB support + * [OPENJPA-147] - T OpenJPAEntityManager.createInstance(Class cls) fails when T is interface + * [OPENJPA-344] - Allow serialization of runtime parsed data, and loading of serialized data into runtime caches + * [OPENJPA-404] - Backward-compatibility for pre-1.0 APIs + * [OPENJPA-417] - Support more elements in collections and maps + * [OPENJPA-430] - Automatically remove hungarian notation from column names. + * [OPENJPA-469] - Generic (user, custom) GeneratedValue + * [OPENJPA-490] - JPQL extension: aggregates in ORDER BY + * [OPENJPA-491] - JPQL extension: scalar functions in GROUP BY + * [OPENJPA-492] - JPQL extension: scalar functions in SELECT + * [OPENJPA-544] - Remove JDK1.4 support + +Sub-tasks + * [OPENJPA-408] - Improve error processing for openjpa.RuntimeUnenhancedClasses property settings + * [OPENJPA-502] - JPQL compliance setting + * [OPENJPA-517] - Oracle also supports WITH statements + * [OPENJPA-591] - Entities are flushed before being detached or serialized + +Bugs + * [OPENJPA-9] - PCEnhancer not processing multiple PU's defined within a single persistence.xml file + * [OPENJPA-78] - Automatic runtime enhancement only works when the class is listed in the first persistence-unit + * [OPENJPA-113] - when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key field (eg.EmpBean_empid) in the table produced. + * [OPENJPA-231] - Incorrect handling of cascading bidirectional collections during merge/attach + * [OPENJPA-245] - Attach NEW and auto-increment identity + * [OPENJPA-251] - org.apache.openjpa.enhance.Reflection.getDeclaredMethod() has undefined behavior, leading to VM-dependent crashes + * [OPENJPA-255] - Inconsistent behavior during merge with cascade=none + * [OPENJPA-258] - MetaDataInheritanceComparator is not transitive; C > B > A > C leads to out-of-memory crash in PCEnhancer + * [OPENJPA-282] - Postgresql does not support deferred unique constraints. + * [OPENJPA-295] - ArrayIndexOutofBoundsException when under load and within a managed Transaction + * [OPENJPA-322] - Timezone on the Calendar object lost in proxying + * [OPENJPA-326] - NPE if a discriminator column is specified without discriminator type in orm.xml + * [OPENJPA-329] - Generic interface may cause the openjpa Reflection code to pickup the wrong getter method + * [OPENJPA-331] - Allow BigInteger and other Basic types as Primary Keys + * [OPENJPA-335] - Logic in getters for entities with property access causes the PCEnhancer to hang + * [OPENJPA-339] - Java 2 security Access denied in File.toURL() call + * [OPENJPA-343] - Do not call setRollbackOnly on inactive Transactions + * [OPENJPA-346] - PCEnhancerAgent backwards-compatibility setting overly-enables enhancement + * [OPENJPA-347] - Performance Issue with Lazy Loaded Foreign Keys + * [OPENJPA-353] - Character discriminators are not converted correctly if storeCharsAsNumbers = true + * [OPENJPA-355] - OpenJPA Log4J factory incorrectly handles logging level + * [OPENJPA-356] - DB2 requires CASTs when parameters appear in SELECT clause + * [OPENJPA-357] - Use case where FetchGroup A includes FecthGroup B is not honoured by fetch operations + * [OPENJPA-358] - Recursion Depth for Field f should be calculated w.r.t active fetch groups and not all fetch groups + * [OPENJPA-359] - OptimisticLockException NOT thrown for entity using Timestamp Version when update from concurrent persistence contexts + * [OPENJPA-360] - SQL FOR UPDATE OF incorrectly generated for DB2/NT SQL0816 + * [OPENJPA-361] - Incorrect GREG_OFFSET offset or inconsistent usage in UUIDGenerator + * [OPENJPA-364] - maven build order is incorrect + * [OPENJPA-366] - InternalException thrown in BrokerImpl.endOperation + * [OPENJPA-367] - PCEnhancer does not find meta data for entities using pure XML annotation + * [OPENJPA-368] - Multithreaded client fails randomly on EntityManager.persist() with out transaction context. + * [OPENJPA-369] - AccessDeclaredMembers RuntimePermission requires by Solaris JDK with security enabled + * [OPENJPA-370] - LoadFetchGroup annotation was not recognized during the fetch1 + * [OPENJPA-372] - PCEnhancer throws away its classloader + * [OPENJPA-375] - DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment. + * [OPENJPA-378] - DB2 SQL incorrectly generating "FETCH FIRST n ROWS ONLY" in subselects + * [OPENJPA-379] - StoreException when using a third party connection pool against Sybase + * [OPENJPA-380] - Connecting to database when an unused emf is closed + * [OPENJPA-381] - OpenJPA is not doing Optimistic locking when running in JEE evnironment + * [OPENJPA-382] - Overriding column names for Byte[] attributes causes exception. + * [OPENJPA-385] - IndexOutOfBounds exception when parsing ".class" files + * [OPENJPA-387] - Getting "java.lang.ClassNotFoundException" when loading datacache plug-in which is a class outside of OpenJPA package. + * [OPENJPA-388] - MappingToolTask can't find persistence meta data. + * [OPENJPA-389] - em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates + * [OPENJPA-392] - Some columnDefinition annotation properties incorrectly used as column name instead of type + * [OPENJPA-395] - Accessing short Foreign Key metadata fields as ints causes problems on iSeries + * [OPENJPA-396] - Cloning Calendar proxies doesn't detach from StateManager + * [OPENJPA-397] - schematool ant task always requires files + * [OPENJPA-399] - openjpa did not handle multiple schema names with same table name + * [OPENJPA-401] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver + * [OPENJPA-402] - Unable to detect an valid Entity's meta data when the entity's .class file size is large. + * [OPENJPA-403] - LoadFetchGroup patch (OPENJPA-370) introduces NPE + * [OPENJPA-405] - need extract space in the message text + * [OPENJPA-409] - Quick message updates + * [OPENJPA-410] - Change "connecting to dictionary" message from Info to Trace + * [OPENJPA-413] - Fix some message text in the localizer.properties files + * [OPENJPA-415] - Garbage collection of AbstractResultList instance closes active connection + * [OPENJPA-416] - Unclear exception if an unknown external value is used + * [OPENJPA-419] - Merging graphs that include managed instances fails + * [OPENJPA-420] - JPQL constructor query close the feature? + * [OPENJPA-437] - EntityManagerFactory is not thread-safe + * [OPENJPA-446] - Problem when setting String fields of detached objects + * [OPENJPA-447] - Query pagination broken for non-DB2 databases + * [OPENJPA-452] - Error in the XML equivalent in the "secondary table field mapping" example + * [OPENJPA-471] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY) + * [OPENJPA-472] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.SEQUENCE ...) + * [OPENJPA-476] - Query.setFirstResult and Query.setMaxResults don't take effect + * [OPENJPA-506] - PreRemove method callback is never called; PreUpdate is always called + * [OPENJPA-508] - JPQL EXISTS clauses do not handle subclasses properly + * [OPENJPA-511] - Unable to execute native queries which start with the WITH keyword. + + OpenJPA 1.0.1 Release Notes + +Bugs Fixed + + * [OPENJPA-113] - when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key field (eg.EmpBean_empid) in the table produced. + * [OPENJPA-282] - Postgresql does not support deferred unique constraints. + * [OPENJPA-295] - ArrayIndexOutofBoundsException when under load and within a managed Transaction + * [OPENJPA-326] - NPE if a discriminator column is specified without discriminator type in orm.xml + * [OPENJPA-335] - Logic in getters for entities with property access causes the PCEnhancer to hang + * [OPENJPA-339] - Java 2 security Access denied in File.toURL() call + * [OPENJPA-343] - Do not call setRollbackOnly on inactive Transactions + * [OPENJPA-346] - PCEnhancerAgent backwards-compatibility setting overly-enables enhancement + * [OPENJPA-347] - Performance Issue with Lazy Loaded Foreign Keys + * [OPENJPA-353] - Character discriminators are not converted correctly if storeCharsAsNumbers = true + * [OPENJPA-355] - OpenJPA Log4J factory incorrectly handles logging level + * [OPENJPA-356] - DB2 requires CASTs when parameters appear in SELECT clause + * [OPENJPA-357] - Use case where FetchGroup A includes FecthGroup B is not honoured by fetch operations + * [OPENJPA-358] - Recursion Depth for Field f should be calculated w.r.t active fetch groups and not all fetch groups + * [OPENJPA-360] - SQL FOR UPDATE OF incorrectly generated for DB2/NT SQL0816 + * [OPENJPA-361] - Incorrect GREG_OFFSET offset or inconsistent usage in UUIDGenerator + * [OPENJPA-367] - PCEnhancer does not find meta data for entities using pure XML annotation + * [OPENJPA-368] - Multithreaded client fails randomly on EntityManager.persist() with out transaction context. + * [OPENJPA-369] - AccessDeclaredMembers RuntimePermission requires by Solaris JDK with security enabled + * [OPENJPA-372] - PCEnhancer throws away its classloader + * [OPENJPA-375] - DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment. + * [OPENJPA-378] - DB2 SQL incorrectly generating "FETCH FIRST n ROWS ONLY" in subselects + * [OPENJPA-380] - Connecting to database when an unused emf is closed + * [OPENJPA-382] - Overriding column names for Byte[] attributes causes exception. + * [OPENJPA-385] - IndexOutOfBounds exception when parsing ".class" files + * [OPENJPA-387] - Getting "java.lang.ClassNotFoundException" when loading datacache plug-in which is a class outside of OpenJPA package. + * [OPENJPA-388] - MappingToolTask can't find persistence meta data. + * [OPENJPA-389] - em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates + * [OPENJPA-394] - DB2 CAST VARCHAR type missing LENGTH + * [OPENJPA-395] - Accessing short Foreign Key metadata fields as ints causes problems on iSeries + * [OPENJPA-396] - Cloning Calendar proxies doesn't detach from StateManager + * [OPENJPA-397] - schematool ant task always requires files + * [OPENJPA-399] - openjpa did not handle multiple schema names with same table name + * [OPENJPA-401] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver + * [OPENJPA-402] - Unable to detect an valid Entity's meta data when the entity's .class file size is large. + * [OPENJPA-403] - LoadFetchGroup patch (OPENJPA-370) introduces NPE + * [OPENJPA-405] - need extract space in the message text + * [OPENJPA-409] - Quick message updates + * [OPENJPA-410] - Change "connecting to dictionary" message from Info to Trace + * [OPENJPA-413] - Fix some message text in the localizer.properties files + * [OPENJPA-415] - Garbage collection of AbstractResultList instance closes active connection + * [OPENJPA-416] - Unclear exception if an unknown external value is used + * [OPENJPA-421] - OpenJPA generates bad SQL before configuration fully populated + * [OPENJPA-422] - Calendar objects contained in a detached Entity still have a "live" StateManagerImpl + * [OPENJPA-423] - Deadlock victim exception getting sequence value with SQLServer + +Improvements + + * [OPENJPA-338] - Remove unnecessary CAST in SQL statement for DB2 + +Sub-tasks + + * [OPENJPA-408] - Improve error processing for openjpa.RuntimeUnenhancedClasses property settings + + OpenJPA 1.0.0 Release Notes + +Bugs fixed + + * [OPENJPA-61] - Missing usage of TransactionSynchronizationRegistry + * [OPENJPA-86] - "uuid-hex" generator does not make affect in orm.xml + * [OPENJPA-143] - Problems with Single Table Inheritance Strategy (and + Discriminator Type of Integer) + * [OPENJPA-165] - QueryImpl.setFirstResult does not take already set + maxResults into account + * [OPENJPA-177] - When using NOT NULL constraint on foreign key it is + not possible to use CascadeType.ALL and GeneratedId + * [OPENJPA-199] - bulk update gets parsing exception trying to update + an attribute of an embedded class + * [OPENJPA-244] - Java 2 Security enablement + * [OPENJPA-248] - ForeignKey cascade delete action not working + * [OPENJPA-257] - Getter/Setter type inconsistency in Entity IdClass + * [OPENJPA-269] - Informix doesn't support subselects or using table + aliases in a delete statement. + * [OPENJPA-271] - DB2 missing JDBC driver 2 support + * [OPENJPA-272] - @GenerateValue (AUTO) doesn't work with Property + level access + * [OPENJPA-274] - JPQL queries cannot access version fields, including + bulk updates + * [OPENJPA-278] - OpenJPAQuery.getDataStoreActions() returns an empty + String array + * [OPENJPA-280] - Enhancement failure for inherited fields introduced + with change 532137 + * [OPENJPA-281] - EAGER not the default fetch type without the @Basic + annotation + * [OPENJPA-284] - TableJDBCSeq for GeneratedValue.TABLE did not handle + initialValue correctly + * [OPENJPA-285] - Multiple deploy/undeploy leaks memory in PCRegistry + * [OPENJPA-287] - Generated methods on superclasses are not visible to + subclasses + * [OPENJPA-294] - Exception while enchnancing the java classes using + OpenJPA PCEnhancerTask with build.xml + * [OPENJPA-296] - UUID algorithm generating non-unique values + sometimes + * [OPENJPA-304] - Problems with DepthFirstAnalysis and the IBM JDK + * [OPENJPA-308] - Postgres: bytea vs. oid handling in + PreparedStatement.setNull() calls + * [OPENJPA-311] - Problem loading classes with OSGi classloaders + * [OPENJPA-312] - derby fails with duplicate primary key(s) in group + by list + * [OPENJPA-313] - list of objects returned by query partially correct + * [OPENJPA-314] - Unenhanced complex id in MappedSuperclass causes NPE + * [OPENJPA-315] - Unenhanced generated id field of a primitive wrapper + type causes NPE + * [OPENJPA-320] - Do not use System Tables (SYS*) with DB2 + * [OPENJPA-321] - DB2 ABS Casting problem + * [OPENJPA-322] - Timezone on the Calendar object lost in proxying + * [OPENJPA-323] - Cleanup some message text + * [OPENJPA-256] - java.lang.ClassNotFoundException: + org.apache.openjpa.util.CacheMap in a jetty spring environment + +Sub-tasks + + * [OPENJPA-279] - Fixed missing lookup for non-jta-data-source in + JDBCConfigurationImpl. + * [OPENJPA-297] - Lazy loading must be ignored in certain unenhanced + cases + * [OPENJPA-298] - Miscellaneous documentation improvements + * [OPENJPA-299] - Provide a means to enable the old enhancing agent + +Improvements + + * [OPENJPA-259] - Ability to parse EJB QL multiline queries in orm.xml + * [OPENJPA-266] - Add Extensibility: Change "private" field/method to + "protected" or "public" in OpenJPA classes to be extendable + * [OPENJPA-275] - Bulk updates: version information should be + automatically maintained when the query does not + +New Features + + * [OPENJPA-168] - sql optimize n rows query hint + * [OPENJPA-239] - Option for the reverse mapping tool to generate + mapping annotations + * [OPENJPA-262] - Event notification of BrokerFactory creation + * [OPENJPA-263] - Introducing getAll(List) method for data cache to be + called by loadAll() will allow data cache plug-ins to leverage the + advantage of any third-party cache that provides a way to get + multiple object in one call by providing a list of keys (oids). + * [OPENJPA-317] - API formalization pre-1.0 OpenJPA 0.9.7 Release Notes Bugs The following bugs have been fixed for release 0.9.7 - * [OPENJPA-16] - NPE in createQuery for EJB QL with nested correlated + * [OPENJPA-16] - NPE in createQuery for EJB QL with nested correlated subqueries - * [OPENJPA-21] - Time is missing from list of mutable classes. - * [OPENJPA-22] - locate & substring queries fail both db2 & derby, + * [OPENJPA-21] - Time is missing from list of mutable classes. + * [OPENJPA-22] - locate & substring queries fail both db2 & derby, cannot use parameter markers in expression ?-? - * [OPENJPA-23] - -418 sqlexception using DB2 and EJB QL with SQRT or MOD - * [OPENJPA-24] - Allow OpenJPA to be extensible - * [OPENJPA-25] - Incorrect SQL generated for queries involving more than + * [OPENJPA-23] - -418 sqlexception using DB2 and EJB QL with SQRT or MOD + * [OPENJPA-24] - Allow OpenJPA to be extensible + * [OPENJPA-25] - Incorrect SQL generated for queries involving more than one AbstractSchemaNames, generated SQL FROM clause is missing 'Table alias' - * [OPENJPA-35] - In-memory Delete operation fails with active DataCache - * [OPENJPA-41] - transforming classes doesn't work - * [OPENJPA-48] - parsing error - cast of subselect does not work - * [OPENJPA-50] - bad sql pushdown, cast changes datatype - * [OPENJPA-53] - bad sql pushdown for nested subselects, missing nested + * [OPENJPA-35] - In-memory Delete operation fails with active DataCache + * [OPENJPA-41] - transforming classes doesn't work + * [OPENJPA-48] - parsing error - cast of subselect does not work + * [OPENJPA-50] - bad sql pushdown, cast changes datatype + * [OPENJPA-53] - bad sql pushdown for nested subselects, missing nested subselect - * [OPENJPA-54] - bad sql pushdown, should use all syntax - * [OPENJPA-56] - in derby concat with input parameter needs a cast, + * [OPENJPA-54] - bad sql pushdown, should use all syntax + * [OPENJPA-56] - in derby concat with input parameter needs a cast, otherwise becomes long varchar and some operations do not work - * [OPENJPA-60] - Specifying the wrong persistence implementation in + * [OPENJPA-60] - Specifying the wrong persistence implementation in persistence.xml leads to misleading error message - * [OPENJPA-62] - Ejbql join queries show invalid null Entities when run + * [OPENJPA-62] - Ejbql join queries show invalid null Entities when run in a new persistence context where no entity instances exist. - * [OPENJPA-71] - Caching primitive array types consumes excessive memory - * [OPENJPA-77] - Problems in default setting in DB2Dictionary , also + * [OPENJPA-71] - Caching primitive array types consumes excessive memory + * [OPENJPA-77] - Problems in default setting in DB2Dictionary , also missing support for DB2 z/OS platforms - * [OPENJPA-80] - Bad Escaping for LIKE in MySQL - * [OPENJPA-98] - Java deadlock when insert in t1 and find in t2 when + * [OPENJPA-80] - Bad Escaping for LIKE in MySQL + * [OPENJPA-98] - Java deadlock when insert in t1 and find in t2 when using IBM JVM 1.5.0 - * [OPENJPA-100] - entries failing to be processed for persistence unit + * [OPENJPA-100] - entries failing to be processed for persistence unit rooted in an EAR - * [OPENJPA-102] - JTA transaction rollback, nonexistant instances, + * [OPENJPA-102] - JTA transaction rollback, nonexistant instances, transactional persistence context => failures during afterCompletion() and close() - * [OPENJPA-103] - Default Listeners not being processed correctly - * [OPENJPA-104] - OpenJPA does not detach instances on rollback() - * [OPENJPA-107] - @SqlResultSetMappings fails in mapping tool with + * [OPENJPA-103] - Default Listeners not being processed correctly + * [OPENJPA-104] - OpenJPA does not detach instances on rollback() + * [OPENJPA-107] - @SqlResultSetMappings fails in mapping tool with java.lang.ArrayStoreException - * [OPENJPA-108] - @AttributeOverrides fails in mapping tool with + * [OPENJPA-108] - @AttributeOverrides fails in mapping tool with java.lang.ArrayStoreException - * [OPENJPA-109] - every NativeQuery using SqlResultSetMapping fails at + * [OPENJPA-109] - every NativeQuery using SqlResultSetMapping fails at runtime with There is no query result mapping for "null" with name "xxx" when the entity is persisted in a different method than the method doing the query. - * [OPENJPA-110] - Every NamedNativeQuery using ResultSetMapping fails at + * [OPENJPA-110] - Every NamedNativeQuery using ResultSetMapping fails at runtime with class cast exception when try to iterate over list - * [OPENJPA-111] - native queries fail when use named parameters - * [OPENJPA-115] - Bottleneck(s) with using OpenJPA in a + * [OPENJPA-111] - native queries fail when use named parameters + * [OPENJPA-115] - Bottleneck(s) with using OpenJPA in a Container-managed environment - * [OPENJPA-116] - EntityManager.getDelegate should throw an + * [OPENJPA-116] - EntityManager.getDelegate should throw an IllegalStateException - * [OPENJPA-118] - AutoDetach property has no effect - * [OPENJPA-119] - EntityManager.clear() should not implicitly invoke the + * [OPENJPA-118] - AutoDetach property has no effect + * [OPENJPA-119] - EntityManager.clear() should not implicitly invoke the flush operation - * [OPENJPA-121] - Table name defaults to the class name instead of the + * [OPENJPA-121] - Table name defaults to the class name instead of the entity name - * [OPENJPA-122] - EntityManager does not throw exceptions after close() + * [OPENJPA-122] - EntityManager does not throw exceptions after close() in required cases - * [OPENJPA-132] - java.lang.NoSuchMethodError for entity with ID of type + * [OPENJPA-132] - java.lang.NoSuchMethodError for entity with ID of type java.sql.Date - * [OPENJPA-133] - Can't find non-public callback methods with superclass + * [OPENJPA-133] - Can't find non-public callback methods with superclass or interface parameters - * [OPENJPA-134] - Extra unneeded SQL joins for OneToMany relationship + * [OPENJPA-134] - Extra unneeded SQL joins for OneToMany relationship with fetch type EAGER - * [OPENJPA-139] - PersistenceException merging an entity with a Calendar + * [OPENJPA-139] - PersistenceException merging an entity with a Calendar field. - * [OPENJPA-140] - Wrong package name in test classes - * [OPENJPA-142] - Entity name is ignored when specified in the orm.xml + * [OPENJPA-140] - Wrong package name in test classes + * [OPENJPA-142] - Entity name is ignored when specified in the orm.xml file - * [OPENJPA-144] - JDBCConfigurationImpl does not support JNDI lookup for + * [OPENJPA-144] - JDBCConfigurationImpl does not support JNDI lookup for non-jta-data-source. - * [OPENJPA-146] - Entity enhancement fails while using EmbeddedId on a + * [OPENJPA-146] - Entity enhancement fails while using EmbeddedId on a MappedSuperclass - * [OPENJPA-150] - @Column in @AttributeOverride not honoring table + * [OPENJPA-150] - @Column in @AttributeOverride not honoring table attribute that maps to a secondary table in mappedsuperclass entity - * [OPENJPA-154] - OptimisticLockException working with Savepoints - * [OPENJPA-155] - java.lang.ArrayIndexOutOfBoundsException during commit - * [OPENJPA-157] - NullPointerException when running query with null + * [OPENJPA-154] - OptimisticLockException working with Savepoints + * [OPENJPA-155] - java.lang.ArrayIndexOutOfBoundsException during commit + * [OPENJPA-157] - NullPointerException when running query with null parameter - * [OPENJPA-162] - @OrderBy on @OneToMany does not allow ordering by @Id + * [OPENJPA-162] - @OrderBy on @OneToMany does not allow ordering by @Id value - * [OPENJPA-174] - error when find()'ing an abstract class - * [OPENJPA-175] - Eager selects by PagingResultObjectProvider may not + * [OPENJPA-174] - error when find()'ing an abstract class + * [OPENJPA-175] - Eager selects by PagingResultObjectProvider may not use the FetchBatchSize - * [OPENJPA-179] - Schemas defined in orm.xml are only applied when a + * [OPENJPA-179] - Schemas defined in orm.xml are only applied when a name is also specified. - * [OPENJPA-181] - ClassCastException when executing bulk delete on an + * [OPENJPA-181] - ClassCastException when executing bulk delete on an entity that owns a OneToOne with a Cascade.DELETE when DataCache is on - * [OPENJPA-185] - optional attribute is not overriden by xml descriptor - * [OPENJPA-186] - Build failure of OpenJPA sources from trunk + * [OPENJPA-185] - optional attribute is not overriden by xml descriptor + * [OPENJPA-186] - Build failure of OpenJPA sources from trunk * [OPENJPA-202] - after invoking LRS processing in a client by calling an @LRS annotated relationship, the next em.clear()/em.close() gets org.apache.openjpa.persistence.InvalidStateException: You cannot @@ -189,127 +510,43 @@ Improvements Improvements made for release 0.9.7 - * [OPENJPA-10] - persistence unit name should be default diagnostic + * [OPENJPA-10] - persistence unit name should be default diagnostic context for standard OpenJPA log impl - * [OPENJPA-37] - Support ant typedefs for OpenJPA tasks - * [OPENJPA-55] - Allow executeUpdate() invocations on native queries - * [OPENJPA-57] - persistence_1_0.xsd is missing - * [OPENJPA-63] - Better pessimistic lock support for DB2 v8.2+ - * [OPENJPA-151] - Added field in enhanced vesrion of a class is not + * [OPENJPA-37] - Support ant typedefs for OpenJPA tasks + * [OPENJPA-55] - Allow executeUpdate() invocations on native queries + * [OPENJPA-57] - persistence_1_0.xsd is missing + * [OPENJPA-63] - Better pessimistic lock support for DB2 v8.2+ + * [OPENJPA-151] - Added field in enhanced vesrion of a class is not serialized. Hence the change in detached+serialized instances is not registered under certain conditions. - * [OPENJPA-153] - WebSphere and non-jta-data-source and default + * [OPENJPA-153] - WebSphere and non-jta-data-source and default ManagedRuntime - * [OPENJPA-158] - OpenJPA logs overly-verbose at INFO level - * [OPENJPA-161] - Overuse of synchronization in AbstractBrokerFactory - * [OPENJPA-166] - Track the reason why a setRollbackOnly invocation + * [OPENJPA-158] - OpenJPA logs overly-verbose at INFO level + * [OPENJPA-161] - Overuse of synchronization in AbstractBrokerFactory + * [OPENJPA-166] - Track the reason why a setRollbackOnly invocation was made - * [OPENJPA-176] - Exception prefixes should be human-readable - * [OPENJPA-196] - Ease the restrictions on forcing a matche between + * [OPENJPA-176] - Exception prefixes should be human-readable + * [OPENJPA-196] - Ease the restrictions on forcing a matche between the number of declared and assigned positional parameters New Features Features added for release 0.9.7 - * [OPENJPA-92] - Support for H2 Database Engine - * [OPENJPA-93] - Sequence generation in a JTA environment should not + * [OPENJPA-92] - Support for H2 Database Engine + * [OPENJPA-93] - Sequence generation in a JTA environment should not require non-JTA datasource - * [OPENJPA-94] - Allow MappingTool and persistence.xml to support + * [OPENJPA-94] - Allow MappingTool and persistence.xml to support drop-create for database schema - * [OPENJPA-182] - db2 update lock syntax WITH USE AND KEEP UPDATE + * [OPENJPA-182] - db2 update lock syntax WITH USE AND KEEP UPDATE LOCKS Task Tasks done for release 0.9.7 - * [OPENJPA-36] - Add cwiki url to incubator status page + * [OPENJPA-36] - Add cwiki url to incubator status page Test Additional testing done for release 0.9.7 - * [OPENJPA-40] - Testing OpenJPA and Spring integration fails - - OpenJPA 1.0.0 Release Notes - -Bugs fixed - - * [OPENJPA-61] - Missing usage of TransactionSynchronizationRegistry - * [OPENJPA-86] - "uuid-hex" generator does not make affect in orm.xml - * [OPENJPA-143] - Problems with Single Table Inheritance Strategy (and - Discriminator Type of Integer) - * [OPENJPA-165] - QueryImpl.setFirstResult does not take already set - maxResults into account - * [OPENJPA-177] - When using NOT NULL constraint on foreign key it is - not possible to use CascadeType.ALL and GeneratedId - * [OPENJPA-199] - bulk update gets parsing exception trying to update - an attribute of an embedded class - * [OPENJPA-244] - Java 2 Security enablement - * [OPENJPA-248] - ForeignKey cascade delete action not working - * [OPENJPA-257] - Getter/Setter type inconsistency in Entity IdClass - * [OPENJPA-269] - Informix doesn't support subselects or using table - aliases in a delete statement. - * [OPENJPA-271] - DB2 missing JDBC driver 2 support - * [OPENJPA-272] - @GenerateValue (AUTO) doesn't work with Property - level access - * [OPENJPA-274] - JPQL queries cannot access version fields, including - bulk updates - * [OPENJPA-278] - OpenJPAQuery.getDataStoreActions() returns an empty - String array - * [OPENJPA-280] - Enhancement failure for inherited fields introduced - with change 532137 - * [OPENJPA-281] - EAGER not the default fetch type without the @Basic - annotation - * [OPENJPA-284] - TableJDBCSeq for GeneratedValue.TABLE did not handle - initialValue correctly - * [OPENJPA-285] - Multiple deploy/undeploy leaks memory in PCRegistry - * [OPENJPA-287] - Generated methods on superclasses are not visible to - subclasses - * [OPENJPA-294] - Exception while enchnancing the java classes using - OpenJPA PCEnhancerTask with build.xml - * [OPENJPA-296] - UUID algorithm generating non-unique values - sometimes - * [OPENJPA-304] - Problems with DepthFirstAnalysis and the IBM JDK - * [OPENJPA-308] - Postgres: bytea vs. oid handling in - PreparedStatement.setNull() calls - * [OPENJPA-311] - Problem loading classes with OSGi classloaders - * [OPENJPA-312] - derby fails with duplicate primary key(s) in group - by list - * [OPENJPA-313] - list of objects returned by query partially correct - * [OPENJPA-314] - Unenhanced complex id in MappedSuperclass causes NPE - * [OPENJPA-315] - Unenhanced generated id field of a primitive wrapper - type causes NPE - * [OPENJPA-320] - Do not use System Tables (SYS*) with DB2 - * [OPENJPA-321] - DB2 ABS Casting problem - * [OPENJPA-322] - Timezone on the Calendar object lost in proxying - * [OPENJPA-323] - Cleanup some message text - * [OPENJPA-256] - java.lang.ClassNotFoundException: - org.apache.openjpa.util.CacheMap in a jetty spring environment + * [OPENJPA-40] - Testing OpenJPA and Spring integration fails -Sub-task - - * [OPENJPA-279] - Fixed missing lookup for non-jta-data-source in - JDBCConfigurationImpl. - * [OPENJPA-297] - Lazy loading must be ignored in certain unenhanced - cases - * [OPENJPA-298] - Miscellaneous documentation improvements - * [OPENJPA-299] - Provide a means to enable the old enhancing agent - -Improvements - - * [OPENJPA-259] - Ability to parse EJB QL multiline queries in orm.xml - * [OPENJPA-266] - Add Extensibility: Change "private" field/method to - "protected" or "public" in OpenJPA classes to be extendable - * [OPENJPA-275] - Bulk updates: version information should be - automatically maintained when the query does not - -New Feature - - * [OPENJPA-168] - sql optimize n rows query hint - * [OPENJPA-239] - Option for the reverse mapping tool to generate - mapping annotations - * [OPENJPA-262] - Event notification of BrokerFactory creation - * [OPENJPA-263] - Introducing getAll(List) method for data cache to be - called by loadAll() will allow data cache plug-ins to leverage the - advantage of any third-party cache that provides a way to get - multiple object in one call by providing a list of keys (oids). - * [OPENJPA-317] - API formalization pre-1.0