You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/02/24 17:15:49 UTC
svn commit: r915845 - in /openjpa/trunk/openjpa-project: BUILDING.txt
CHANGES.txt RELEASE-NOTES.html
Author: dwoods
Date: Wed Feb 24 16:15:48 2010
New Revision: 915845
URL: http://svn.apache.org/viewvc?rev=915845&view=rev
Log:
update release notes and changes for beta 2 release
Modified:
openjpa/trunk/openjpa-project/BUILDING.txt
openjpa/trunk/openjpa-project/CHANGES.txt
openjpa/trunk/openjpa-project/RELEASE-NOTES.html
Modified: openjpa/trunk/openjpa-project/BUILDING.txt
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/BUILDING.txt?rev=915845&r1=915844&r2=915845&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/BUILDING.txt (original)
+++ openjpa/trunk/openjpa-project/BUILDING.txt Wed Feb 24 16:15:48 2010
@@ -24,9 +24,10 @@
The most up to date version of these instructions may be found on the OpenJPA
website at http://openjpa.apache.org/building-openjpa.html
- 1. Ensure that Java SE 1.5 or 1.6 is installed and on your path by running:
+ 1. Ensure that Java SE 6 is installed and on your path by running:
java -version
- OpenJPA requires Java 1.5 or later, but some features are only available
+ OpenJPA requires Java 1.6 or later to build, but still supports using
+ Java SE 5 for runtime even though some features are only available
with Java SE 6.
2. Install the build tool Apache Maven 2.0.9 or later, from:
http://maven.apache.org/
@@ -64,9 +65,9 @@
$ cd /tmp/
$ java -version
-java version "1.5.0_20"
-Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02-315)
-Java HotSpot(TM) Client VM (build 1.5.0_20-144, mixed mode, sharing)
+java version "1.6.0_17"
+Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
+Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
$ mvn -v
Maven version: 2.0.10
@@ -91,7 +92,7 @@
...
A trunk/openjpa-persistence/pom.xml
-Checked out revision 822485.
+Checked out revision 915725.
$ cd trunk/
@@ -127,33 +128,32 @@
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
-[INFO] OpenJPA Parent POM .................................... SUCCESS [4.767s]
-[INFO] OpenJPA Utilities Library ............................. SUCCESS [13.592s]
-[INFO] OpenJPA Kernel ........................................ SUCCESS [14.810s]
-[INFO] OpenJPA JDBC .......................................... SUCCESS [6.430s]
-[INFO] OpenJPA Persistence ................................... SUCCESS [5.194s]
-[INFO] OpenJPA Persistence JDBC .............................. SUCCESS [56.944s]
-[INFO] OpenJPA Persistence Locking Tests ..................... SUCCESS [2.662s]
-[INFO] OpenJPA XML Store ..................................... SUCCESS [1.423s]
-[INFO] OpenJPA Slice ......................................... SUCCESS [2.742s]
-[INFO] OpenJPA Aggregate Jar ................................. SUCCESS [10.928s]
-[INFO] OpenJPA Aggregate Jar with Dependencies ............... SUCCESS [4.026s]
-[INFO] OpenJPA Project Docs and Assemblies ................... SUCCESS [32.172s]
-[INFO] OpenJPA Examples ...................................... SUCCESS [1.085s]
-[INFO] OpenJPA Integration Tests ............................. SUCCESS [0.195s]
-[INFO] OpenJPA Integration Tests - Examples .................. SUCCESS [0.128s]
-[INFO] OpenJPA Integration Tests - JPA TCK ................... SUCCESS [0.136s]
-[INFO] OpenJPA Integration Tests - Bean Validation ........... SUCCESS [2.956s]
+[INFO] OpenJPA Parent POM .................................... SUCCESS [8.999s]
+[INFO] OpenJPA Utilities Library ............................. SUCCESS [22.600s]
+[INFO] OpenJPA Kernel ........................................ SUCCESS [26.888s]
+[INFO] OpenJPA JDBC .......................................... SUCCESS [13.231s]
+[INFO] OpenJPA Persistence ................................... SUCCESS [8.635s]
+[INFO] OpenJPA Persistence JDBC .............................. SUCCESS [1:33.5s]
+[INFO] OpenJPA Persistence Locking Tests ..................... SUCCESS [3.857s]
+[INFO] OpenJPA XML Store ..................................... SUCCESS [1.294s]
+[INFO] OpenJPA Slice ......................................... SUCCESS [3.779s]
+[INFO] OpenJPA Aggregate Jar ................................. SUCCESS [21.544s]
+[INFO] OpenJPA Aggregate Jar with Dependencies ............... SUCCESS [8.322s]
+[INFO] OpenJPA Project Docs and Assemblies ................... SUCCESS [1:12.6s]
+[INFO] OpenJPA Examples ...................................... SUCCESS [1.049s]
+[INFO] OpenJPA Integration Tests ............................. SUCCESS [0.341s]
+[INFO] OpenJPA Integration Tests - Examples .................. SUCCESS [0.278s]
+[INFO] OpenJPA Integration Tests - JPA TCK ................... SUCCESS [0.229s]
+[INFO] OpenJPA Integration Tests - Bean Validation ........... SUCCESS [4.028s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 2 minutes 42 seconds
-[INFO] Finished at: Wed Oct 07 12:38:44 EDT 2009
-[INFO] Final Memory: 96M/291M
+[INFO] Total time: 4 minutes 56 seconds
+[INFO] Finished at: Wed Feb 24 09:01:40 EST 2010
+[INFO] Final Memory: 110M/376M
[INFO] ------------------------------------------------------------------------
-
$ ls openjpa-project/target/site/downloads/
apache-openjpa-2.0.0-SNAPSHOT-binary.zip
Modified: openjpa/trunk/openjpa-project/CHANGES.txt
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/CHANGES.txt?rev=915845&r1=915844&r2=915845&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/CHANGES.txt (original)
+++ openjpa/trunk/openjpa-project/CHANGES.txt Wed Feb 24 16:15:48 2010
@@ -1,5 +1,5 @@
- Apache OpenJPA 2.0.0-SNAPSHOT
- -----------------------------
+ Apache OpenJPA 2.0.0-beta2
+ --------------------------
Content
-------
@@ -19,30 +19,69 @@
Overview
--------
- This distribution of Apache OpenJPA builds upon the prior releases which
- provided a feature-rich implementation of the Java Persistence API (JPA 1.0)
- part of Java Community Process JSR-220 (Enterprise JavaBeans 3.0) by
- implementing the specification functionality from the final Java
- Community Process JSR-317 (JPA 2.0) release on 12/10/2009 and passes
- the Sun JPA 2.0 TCK.
-
- Some of the key features included in this distribution:
- * Passes the Sun JPA 2.0 TCK
- * Implements the final JSR-317 JPA 2.0 specification APIs
- * Supports the final JSR-303 Bean Validation 1.0 specification APIs
- * . . .
+ The Apache OpenJPA community is proud to release a Beta 2 distribution of
+ OpenJPA 2.0.0. This distribution is based on the final JSR 317 Java
+ Persistence API, Version 2.0 specification and passes the JPA 2.0 TCK,
+ while remaining backwards compatiable with prior releases based on the
+ Java Persistence API (JPA 1.0) part of Java Community Process JSR-220
+ (Enterprise JavaBeans 3.0). Included in this release are many enhancements,
+ fixes, and new functionality; giving developers access to all the new
+ features of JPA 2.0, including:
+
+ * Access Types - expanded to allow specification on a per-persistent type
+ basis or on individual attributes.
+ * Embeddables - expanded to include collections of embeddables, nested
+ embeddables, and embeddables containing relationships to other entities.
+ * Enhanced Map Collections - expanded to support ElementCollection and new
+ annotations for MapKeyColumn, MapKeyClass and MapKeyJoinColumn
+ * Derived Identities - enables the ID of an entity to be derived from
+ another entity, which provides for parent-to-dependent relationships
+ * Query API - methods to get typed query parameters and results, supported
+ and in-effect hints and lock mode getter/setter
+ * Locking - official support for Pessimistic locking (included in prior
+ OpenJPA releases) along with LockModeType properties and hint
+ * JPQL Updates -
+ ** Embeddables support for path expressions to nested Embeddables and
+ Embeddables with relationships
+ ** Enhanced Map Collection support for ElementCollection and new query
+ expressions for KEY, ENTRY, VALUE
+ ** Support for CASE and TYPE expressions along with IN expressions for
+ Collection parameters
+ ** Support for native date/time/timestamp literals
+ ** Support for INDEX expressions on an OrderColumn
+ * L2 Cache -
+ ** Provides cache operations such as entity eviction and cache mode
+ behaviors to use, bypass or refresh items
+ ** Per-entity annotation to specify whether an entity should be cached
+ * Bean Validation - supports using a JSR 303 implementation for entity
+ validation for persist and remove operations
+ * Metamodel API -
+ ** Provides API to dynamically retrieve metamodel information for a
+ persistence unit
+ ** Currently limited to persistent state and relationships
+ ** Used with Criteria API to generate and execute type safe queries
+ ** Supports dynamic or static generation of the metamodel
+ * Criteria API -
+ ** Provides programmatic construction of queries using an object based
+ query graph
+ ** Operates on Metamodel objects to provide compile-time type safety
+ enforcement
+ * EntityManagerFactory API - updated for new L2 Cache, Properties, Criteria
+ and Metamodel APIs
+ * EntityManager API - updated for new Query and Query Result APIs, Hints,
+ Properties, LockModeType, and Detach
+ * And many more...
-
- This SNAPSHOT distribution is based upon the contributions provided in
+ This Beta 2 distribution is based upon the contributions provided in
development iterations after the Beta, as defined in the JPA 2.0 Roadmap at:
- http://openjpa.apache.org/jpa-20-roadmap.html
+ http://openjpa.apache.org/jpa-20-roadmap.html
The JPA 2.0 Roadmap contains a complete list of implemented features and
feature summaries, including what is on deck for future iterations.
Additional information on the OpenJPA project may be found at the project
web site:
- http://openjpa.apache.org
+ http://openjpa.apache.org
License
@@ -68,7 +107,8 @@
Notices
-------
Copyright 2006,2010 The Apache Software Foundation.
- Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
+ Apache, the Apache feather logo and OpenJPA are trademarks of
+ The Apache Software Foundation.
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
@@ -81,14 +121,13 @@
The source code is available at:
https://glassfish.dev.java.net/source/browse/glassfish/
-
The complete list of notices can be found in NOTICE.txt included in each
assembly.
Prerequisites
-------------
- In normal usage, OpenJPA requires Java 5 or higher and a relational
+ In normal usage, OpenJPA requires Java SE 5 or higher and a relational
database of some sort.
@@ -124,9 +163,32 @@
* Bugs and other issues can be posted on the project JIRA.
-Included Changes in OpenJPA 2.0.0-SNAPSHOT
-------------------------------------------
- * TBD
+Included Changes in OpenJPA 2.0.0 Beta 2
+----------------------------------------
+
+Bug
+---
+ * [OPENJPA-1001] - java.lang.IndexOutOfBoundsException when executing attached test case
+ * [OPENJPA-1367] - H2 Database Engine does support cross join
+ * [OPENJPA-1485] - isLoaded util method does not behave per spec for collection attributes and basic type
+ * [OPENJPA-1504] - Validation junits should not rely on Hibernate Impl
+ * [OPENJPA-1507] - NPE with a non-JDBC store manager
+ * [OPENJPA-1509] - Enum field types cannot be modified in an in-memory JPQL bulk update statement
+ * [OPENJPA-1533] - JPA2 select math mix with aggregate reports syntax error
+
+Improvement
+-----------
+ * [OPENJPA-1475] - Performance improvement - don't call syncVersion() when no version is specified
+ * [OPENJPA-1493] - Performance improvement in SelectImpl.getTableIndex() for JPQL without subselect
+ * [OPENJPA-1502] - Improve msg for unrecognized EntityManager properties
+ * [OPENJPA-1512] - Include a BundleActivator to register ourselves as a javax.persistence.provider for Apache Aries
+ * [OPENJPA-1516] - Introduce new "clear" method on EntityManagerImpl
+ * [OPENJPA-1520] - Move trunk (2.0.x) to require Java 6 to build (but target 1.5 runtime)
+ * [OPENJPA-1525] - TestCacheMarshallerEndToEnd.Log requires to implement warn() method
+ * [OPENJPA-1528] - Upgrade to latest MySQL 5.1.12 for junit tests
+
+** Test
+ * [OPENJPA-1408] - Create test case binary and source jars in module
Included Changes in OpenJPA 2.0.0 Beta
@@ -147,39 +209,80 @@
---
* [OPENJPA-123] - Test framework should allow tests that are expected to fail to be checked in
* [OPENJPA-459] - Problem with bulk updates in mySQL
+ * [OPENJPA-714] - "Encountered unmanaged object in persistent field" error while merging object tree
+ * [OPENJPA-748] - Disable QuerySQLCache by default
+ * [OPENJPA-757] - Map existing OpenJPA extensions to new features of JPA 2.0
* [OPENJPA-859] - OpenJPA requires all persistent fields to be specified on an XML defined entity
+ * [OPENJPA-944] - FetchAttribute.recursionDepth = -1 does not load properly self referenced entities in a complex relation
+ * [OPENJPA-991] - Implement LockTimeout using db specific server-side lock timeout feature
* [OPENJPA-993] - PCEnhancer can't execute if a non-OpenJPA PU is found
+ * [OPENJPA-1005] - Add PersistenceXMLSchemaVersion(); support
+ * [OPENJPA-1025] - AbstractResultList.subList throws UnsupportedOperationException
* [OPENJPA-1046] - Unique Constraint on MappedSupperClass causes NullPointerException
+ * [OPENJPA-1141] - NPE at org.apache.openjpa.jdbc.meta.MappingInfo.mergeJoinColumn(MappingInfo.java:1400)
+ * [OPENJPA-1173] - Update PostgreSQL support for 8.4.x
+ * [OPENJPA-1185] - Subquery overhaul
+ * [OPENJPA-1197] - NativeQueries fail with MySQL
* [OPENJPA-1224] - OpenJPA MySQL BigDecimal ignoring Precision/Scale column Annotation when generating tables
* [OPENJPA-1263] - TestReaderLob.testUpdateWithNull() fails on MySQL
+ * [OPENJPA-1276] - Support CQL for Criteria Query
+ * [OPENJPA-1289] - Oracle driver throws exception due to incorrect mapping of XMLType column
+ * [OPENJPA-1293] - JUnit test failure when using Derby 10.5.3.0
* [OPENJPA-1294] - Nested JDBC calls fail for certain database
+ * [OPENJPA-1306] - Extended lock scope support
* [OPENJPA-1308] - shouldn't always use CAST with UPPER and LOWER for DB2
* [OPENJPA-1321] - Documentation inaccuracies
+ * [OPENJPA-1326] - ReverseMappingTool and SchemaTool failing for Sybase
+ * [OPENJPA-1328] - Move cacheable class configuration to ClassMetaData
* [OPENJPA-1341] - PostRemove not invoked after database record was deleted
* [OPENJPA-1344] - Query [get|set]LockMode & Em getLockMode not throwing correct exceptions
* [OPENJPA-1349] - Compatibility options are not set appropriately for spec level when emf is created by JEE container
+ * [OPENJPA-1351] - java.lang.ClassCastException: javax.naming.Reference incompatible with javax.sql.DataSource
+ * [OPENJPA-1352] - Merge fails if an entity has an element collection which is contructed using Arrays.asList
* [OPENJPA-1354] - Configuring DBCP connection pool with connection properties breaks when user/pasword is specifed and javax.* configuration is set to DBCP Driver
* [OPENJPA-1355] - Recent snaphot versions of openjpa have problem with postgresPreparedStatementImpl constructor making Postgres impossible to use
+ * [OPENJPA-1357] - Support CacheRetrieve/StoreMode properties for find()/refresh() operation
+ * [OPENJPA-1370] - JPA2 missing implementation for createNamedQuery(String name, Class<T> resultClass)
+ * [OPENJPA-1374] - Enable junits to be executed against an in-memory Derby 10.5.3.0 db
+ * [OPENJPA-1375] - OutOfMemory runs in container environment in a long stress run
+ * [OPENJPA-1377] - JPA property to enum conversion failure
* [OPENJPA-1379] - Locking problem when using timestamp QueryCache eviction policy.
+ * [OPENJPA-1380] - Query not getting evicted from QueryCache
* [OPENJPA-1381] - IllegalStateException on query method call after named query is created twice.
+ * [OPENJPA-1384] - ClassNotFoundException for custom DBDictionary used by EJB
* [OPENJPA-1385] - Parameter in having clause of Criteria query not recognized
* [OPENJPA-1386] - Metamodel Generator does not handle field types that can hide another
* [OPENJPA-1387] - Unique colums automatically defined as non-nullable
+ * [OPENJPA-1388] - JPQL named parameter using a reserved word resulting in ArgumentException
* [OPENJPA-1390] - Criteria API untyped join(String attr) implies any attribute not a singular attribute
* [OPENJPA-1391] - Handle generic/unspecified type arguments for persistent fields during metamodel generation
* [OPENJPA-1392] - CriteriaBuilder.size() must return Integer as value
* [OPENJPA-1393] - CriteriaBuilder.countDistinct() does not return correct result
+ * [OPENJPA-1394] - Pessimistic Lock not honour when ORDER BY clause is used
+ * [OPENJPA-1396] - metadata-complete in the orm file does not override @Transition annotation
+ * [OPENJPA-1397] - NULL in columns part of an @IdClass composite key leads to "disappearing" (null) returned objects
* [OPENJPA-1400] - Unable to persist a relationship to a detached Entity
+ * [OPENJPA-1401] - Inheritance using Join Strategy may fail in cross join JPQL
+ * [OPENJPA-1402] - Improve (avoid) lock on relation field per 2.0 spec semantics
+ * [OPENJPA-1408] - Create test case binary and source jars in module
* [OPENJPA-1409] - Improve type preservation for currentDate/Time expression in queries
+ * [OPENJPA-1413] - NPE when update using CASE statement on Derby
+ * [OPENJPA-1414] - Performance improvements for detach
* [OPENJPA-1419] - Access path metadata set incorrectly for fetch joins in Criteria Query
* [OPENJPA-1425] - Literal value in projection can not be parameterized for all databases
+ * [OPENJPA-1431] - @Temporal annotation overrides the @Column annotation when using in conjunction with @ElementCollection
+ * [OPENJPA-1435] - Multi-1xm relation of same type in entity yields extra null in result collection
* [OPENJPA-1439] - Metamodel instantiation fails on InputStream properties
* [OPENJPA-1441] - NPE when enhancing a Serializable, versioned class
+ * [OPENJPA-1442] - java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
* [OPENJPA-1444] - Criteria Query with fetch joins does not return correct DISTINCT result
* [OPENJPA-1445] - Support Enum as external value
* [OPENJPA-1452] - OpenJPA 2.0.0-M3 attempts to mutate unmodifiable map in Glassfish
+ * [OPENJPA-1461] - Incorrect Oracle CREATE TABLE DDL for XML column
* [OPENJPA-1463] - JPQL new operator arguments should be more flexible in matching constructor arguments
* [OPENJPA-1464] - PreparedQuery fails with enum query parameter
+ * [OPENJPA-1467] - java.lang.IllegalMonitorStateException in ConcurrentDataCache.writeUnlock()
+ * [OPENJPA-1470] - PCEnhancer is overly verbose
* [OPENJPA-1478] - OpenJPA is no longer available as an OSGi bundle
Improvement
Modified: openjpa/trunk/openjpa-project/RELEASE-NOTES.html
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/RELEASE-NOTES.html?rev=915845&r1=915844&r2=915845&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/RELEASE-NOTES.html (original)
+++ openjpa/trunk/openjpa-project/RELEASE-NOTES.html Wed Feb 24 16:15:48 2010
@@ -1,7 +1,7 @@
<html>
-<title>Release Notes for Apache OpenJPA 2.0.0-SNAPSHOT</title>
+<title>Release Notes for Apache OpenJPA 2.0.0-beta2</title>
<body>
-<h1>Release Notes for Apache OpenJPA 2.0.0-SNAPSHOT</h1>
+<h1>Release Notes for Apache OpenJPA 2.0.0-beta2</h1>
<p>
<ul>
<li><a href="#Overview">Overview</a></li>
@@ -12,7 +12,7 @@
<li><a href="#Notice">Notice</a></li>
<li><a href="#ReleaseNotes">Release Notes</a></li>
<ul>
- <li><a href="#200">2.0.0-SNAPSHOT</a></li>
+ <li><a href="#200beta2">2.0.0 Beta 2</a></li>
<li><a href="#200beta">2.0.0 Beta</a></li>
<li><a href="#200M3">2.0.0 Milestone 3</a></li>
<li><a href="#200M2">2.0.0 Milestone 2</a></li>
@@ -25,24 +25,127 @@
<hr>
<h2><a name="Overview"></a>Overview</h2>
-<P>This distribution of Apache OpenJPA builds upon the prior releases which
-provided a feature-rich implementation of the Java Persistence API (JPA 1.0)
-part of Java Community Process JSR-220 (Enterprise JavaBeans 3.0) by
-implementing the specification functionality from the final Java
-Community Process JSR-317 (JPA 2.0) release on 12/10/2009 and passes
-the JPA 2.0 TCK.
+<P>
+ The Apache OpenJPA community is proud to release a Beta 2 distribution of
+ OpenJPA 2.0.0. This distribution is based on the final JSR 317 Java
+ Persistence API, Version 2.0 specification and passes the JPA 2.0 TCK,
+ while remaining backwards compatiable with prior releases based on the
+ Java Persistence API (JPA 1.0) part of Java Community Process JSR-220
+ (Enterprise JavaBeans 3.0). Included in this release are many enhancements,
+ fixes, and new functionality; giving developers access to all the new
+ features of JPA 2.0, including:
</P>
-<p> Some of the key features included in this distribution:
<ul>
-<li>Passes the Sun JPA 2.0 TCK</li>
-<li>Implements the final JSR-317 JPA 2.0 specification APIs</li>
-<li>Supports the final JSR-303 Bean Validation 1.0 specification APIs</li>
-<li> . . . </li>
+<li>
+ Access Types - expanded to allow specification on a per-persistent type
+ basis or on individual attributes.
+</li>
+<li>
+ Embeddables - expanded to include collections of embeddables, nested
+ embeddables, and embeddables containing relationships to other entities.
+</li>
+<li>
+ Enhanced Map Collections - expanded to support ElementCollection and new
+ annotations for MapKeyColumn, MapKeyClass and MapKeyJoinColumn
+</li>
+<li>
+ Derived Identities - enables the ID of an entity to be derived from
+ another entity, which provides for parent-to-dependent relationships
+</li>
+<li>
+ Query API - methods to get typed query parameters and results, supported
+ and in-effect hints and lock mode getter/setter
+</li>
+<li>
+ Locking - official support for Pessimistic locking (included in prior
+ OpenJPA releases) along with LockModeType properties and hint
+</li>
+<li>
+ JPQL Updates -
+ <ul>
+ <li>
+ Embeddables support for path expressions to nested Embeddables and
+ Embeddables with relationships
+ </li>
+ <li>
+ Enhanced Map Collection support for ElementCollection and new query
+ expressions for KEY, ENTRY, VALUE
+ </li>
+ <li>
+ Support for CASE and TYPE expressions along with IN expressions for
+ Collection parameters
+ </li>
+ <li>
+ Support for native date/time/timestamp literals
+ </li>
+ <li>
+ Support for INDEX expressions on an OrderColumn
+ </li>
+ </ul>
+</li>
+<li>
+ L2 Cache -
+ <ul>
+ <li>
+ Provides cache operations such as entity eviction and cache mode
+ behaviors to use, bypass or refresh items
+ </li>
+ <li>
+ Per-entity annotation to specify whether an entity should be cached
+ </li>
+ </ul>
+</li>
+<li>
+ Bean Validation - supports using a JSR 303 implementation for entity
+ validation for persist and remove operations
+</li>
+<li>
+ Metamodel API -
+ <ul>
+ <li>
+ Provides API to dynamically retrieve metamodel information for a
+ persistence unit
+ </li>
+ <li>
+ Currently limited to persistent state and relationships
+ </li>
+ <li>
+ Used with Criteria API to generate and execute type safe queries
+ </li>
+ <li>
+ Supports dynamic or static generation of the metamodel
+ </li>
+ </ul>
+</li>
+<li>
+ Criteria API -
+ <ul>
+ <li>
+ Provides programmatic construction of queries using an object based
+ query graph
+ </li>
+ <li>
+ Operates on Metamodel objects to provide compile-time type safety
+ enforcement
+ </li>
+ </ul>
+</li>
+<li>
+ EntityManagerFactory API - updated for new L2 Cache, Properties, Criteria
+ and Metamodel APIs
+</li>
+<li>
+ EntityManager API - updated for new Query and Query Result APIs, Hints,
+ Properties, LockModeType, and Detach
+</li>
+<li>
+ And many more...
+</li>
</ul>
</p>
-<p>This SNAPSHOT distribution is based upon the contributions provided in
+<p>This Beta 2 distribution is based upon the contributions provided in
development iterations after the Beta, as defined in the JPA 2.0 Roadmap at:
<a href="http://openjpa.apache.org/jpa-20-roadmap.html">http://openjpa.apache.org/jpa-20-roadmap.html</a></p>
@@ -124,11 +227,54 @@
<hr>
<h2><a name="ReleaseNotes">Release Notes</h2>
-<h3><a name="200">OpenJPA 2.0.0-SNAPSHOT</h3>
+<hr>
+<h3><a name="200beta2">OpenJPA 2.0.0-beta2</h3>
+<h4>Bug</h4>
<ul>
-<li>TBD</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1001'>OPENJPA-1001</a>] - java.lang.IndexOutOfBoundsException when executing attached test case
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1367'>OPENJPA-1367</a>] - H2 Database Engine does support cross join
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1485'>OPENJPA-1485</a>] - isLoaded util method does not behave per spec for collection attributes and basic type
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1504'>OPENJPA-1504</a>] - Validation junits should not rely on Hibernate Impl
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1507'>OPENJPA-1507</a>] - NPE with a non-JDBC store manager
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1509'>OPENJPA-1509</a>] - Enum field types cannot be modified in an in-memory JPQL bulk update statement
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1533'>OPENJPA-1533</a>] - JPA2 select math mix with aggregate reports syntax error
+</li>
</ul>
+<h4>Improvement</h4>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1475'>OPENJPA-1475</a>] - Performance improvement - don't call syncVersion() when no version is specified
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1493'>OPENJPA-1493</a>] - Performance improvement in SelectImpl.getTableIndex() for JPQL without subselect
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1502'>OPENJPA-1502</a>] - Improve msg for unrecognized EntityManager properties
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1512'>OPENJPA-1512</a>] - Include a BundleActivator to register ourselves as a javax.persistence.provider for Apache Aries
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1516'>OPENJPA-1516</a>] - Introduce new "clear" method on EntityManagerImpl
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1520'>OPENJPA-1520</a>] - Move trunk (2.0.x) to require Java 6 to build (but target 1.5 runtime)
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1525'>OPENJPA-1525</a>] - TestCacheMarshallerEndToEnd.Log requires to implement warn() method
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1528'>OPENJPA-1528</a>] - Upgrade to latest MySQL 5.1.12 for junit tests
+</li>
+</ul>
+
+<h4>Test</h4>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1408'>OPENJPA-1408</a>] - Create test case binary and source jars in module
+</li>
+</ul>
+
+
+<hr>
<h3><a name="200beta">OpenJPA 2.0.0 Beta</h3>
<h4>Sub-task</h4>
<ul>
@@ -136,6 +282,10 @@
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1115'>OPENJPA-1115</a>] - Finish support for delimited identifiers
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1173'>OPENJPA-1173</a>] - Update PostgreSQL support for 8.4.x
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1306'>OPENJPA-1306</a>] - Extended lock scope support
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1347'>OPENJPA-1347</a>] - Upgrade to Validation API 1.0.0.GA
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1353'>OPENJPA-1353</a>] - Add legal info to the docs
@@ -156,42 +306,80 @@
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-459'>OPENJPA-459</a>] - Problem with bulk updates in mySQL
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-714'>OPENJPA-714</a>] - "Encountered unmanaged object in persistent field" error while merging object tree
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-748'>OPENJPA-748</a>] - Disable QuerySQLCache by default
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-859'>OPENJPA-859</a>] - OpenJPA requires all persistent fields to be specified on an XML defined entity
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-944'>OPENJPA-944</a>] - FetchAttribute.recursionDepth = -1 does not load properly self referenced entities in a complex relation
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-993'>OPENJPA-993</a>] - PCEnhancer can't execute if a non-OpenJPA PU is found
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1025'>OPENJPA-1025</a>] - AbstractResultList.subList throws UnsupportedOperationException
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1046'>OPENJPA-1046</a>] - Unique Constraint on MappedSupperClass causes NullPointerException
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1141'>OPENJPA-1141</a>] - NPE at org.apache.openjpa.jdbc.meta.MappingInfo.mergeJoinColumn(MappingInfo.java:1400)
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1185'>OPENJPA-1185</a>] - Subquery overhaul
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1197'>OPENJPA-1197</a>] - NativeQueries fail with MySQL
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1224'>OPENJPA-1224</a>] - OpenJPA MySQL BigDecimal ignoring Precision/Scale column Annotation when generating tables
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1263'>OPENJPA-1263</a>] - TestReaderLob.testUpdateWithNull() fails on MySQL
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1289'>OPENJPA-1289</a>] - Oracle driver throws exception due to incorrect mapping of XMLType column
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1293'>OPENJPA-1293</a>] - JUnit test failure when using Derby 10.5.3.0
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1294'>OPENJPA-1294</a>] - Nested JDBC calls fail for certain database
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1308'>OPENJPA-1308</a>] - shouldn't always use CAST with UPPER and LOWER for DB2
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1321'>OPENJPA-1321</a>] - Documentation inaccuracies
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1326'>OPENJPA-1326</a>] - ReverseMappingTool and SchemaTool failing for Sybase
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1328'>OPENJPA-1328</a>] - Move cacheable class configuration to ClassMetaData
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1341'>OPENJPA-1341</a>] - PostRemove not invoked after database record was deleted
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1344'>OPENJPA-1344</a>] - Query [get|set]LockMode & Em getLockMode not throwing correct exceptions
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1349'>OPENJPA-1349</a>] - Compatibility options are not set appropriately for spec level when emf is created by JEE container
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1351'>OPENJPA-1351</a>] - java.lang.ClassCastException: javax.naming.Reference incompatible with javax.sql.DataSource
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1352'>OPENJPA-1352</a>] - Merge fails if an entity has an element collection which is contructed using Arrays.asList
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1354'>OPENJPA-1354</a>] - Configuring DBCP connection pool with connection properties breaks when user/pasword is specifed and javax.* configuration is set to DBCP Driver
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1355'>OPENJPA-1355</a>] - Recent snaphot versions of openjpa have problem with postgresPreparedStatementImpl constructor making Postgres impossible to use
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1370'>OPENJPA-1370</a>] - JPA2 missing implementation for createNamedQuery(String name, Class<T> resultClass)
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1375'>OPENJPA-1375</a>] - OutOfMemory runs in container environment in a long stress run
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1377'>OPENJPA-1377</a>] - JPA property to enum conversion failure
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1379'>OPENJPA-1379</a>] - Locking problem when using timestamp QueryCache eviction policy.
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1380'>OPENJPA-1380</a>] - Query not getting evicted from QueryCache
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1381'>OPENJPA-1381</a>] - IllegalStateException on query method call after named query is created twice.
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1384'>OPENJPA-1384</a>] - ClassNotFoundException for custom DBDictionary used by EJB
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1385'>OPENJPA-1385</a>] - Parameter in having clause of Criteria query not recognized
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1386'>OPENJPA-1386</a>] - Metamodel Generator does not handle field types that can hide another
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1387'>OPENJPA-1387</a>] - Unique colums automatically defined as non-nullable
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1388'>OPENJPA-1388</a>] - JPQL named parameter using a reserved word resulting in ArgumentException
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1390'>OPENJPA-1390</a>] - Criteria API untyped join(String attr) implies any attribute not a singular attribute
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1391'>OPENJPA-1391</a>] - Handle generic/unspecified type arguments for persistent fields during metamodel generation
@@ -200,30 +388,56 @@
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1393'>OPENJPA-1393</a>] - CriteriaBuilder.countDistinct() does not return correct result
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1394'>OPENJPA-1394</a>] - Pessimistic Lock not honour when ORDER BY clause is used
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1396'>OPENJPA-1396</a>] - metadata-complete in the orm file does not override @Transition annotation
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1397'>OPENJPA-1397</a>] - NULL in columns part of an @IdClass composite key leads to "disappearing" (null) returned objects
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1400'>OPENJPA-1400</a>] - Unable to persist a relationship to a detached Entity
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1401'>OPENJPA-1401</a>] - Inheritance using Join Strategy may fail in cross join JPQL
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1409'>OPENJPA-1409</a>] - Improve type preservation for currentDate/Time expression in queries
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1413'>OPENJPA-1413</a>] - NPE when update using CASE statement on Derby
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1419'>OPENJPA-1419</a>] - Access path metadata set incorrectly for fetch joins in Criteria Query
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1425'>OPENJPA-1425</a>] - Literal value in projection can not be parameterized for all databases
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1431'>OPENJPA-1431</a>] - @Temporal annotation overrides the @Column annotation when using in conjunction with @ElementCollection
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1435'>OPENJPA-1435</a>] - Multi-1xm relation of same type in entity yields extra null in result collection
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1439'>OPENJPA-1439</a>] - Metamodel instantiation fails on InputStream properties
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1441'>OPENJPA-1441</a>] - NPE when enhancing a Serializable, versioned class
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1442'>OPENJPA-1442</a>] - java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1444'>OPENJPA-1444</a>] - Criteria Query with fetch joins does not return correct DISTINCT result
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1445'>OPENJPA-1445</a>] - Support Enum as external value
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1452'>OPENJPA-1452</a>] - OpenJPA 2.0.0-M3 attempts to mutate unmodifiable map in Glassfish
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1461'>OPENJPA-1461</a>] - Incorrect Oracle CREATE TABLE DDL for XML column
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1463'>OPENJPA-1463</a>] - JPQL new operator arguments should be more flexible in matching constructor arguments
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1464'>OPENJPA-1464</a>] - PreparedQuery fails with enum query parameter
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1467'>OPENJPA-1467</a>] - java.lang.IllegalMonitorStateException in ConcurrentDataCache.writeUnlock()
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1478'>OPENJPA-1478</a>] - OpenJPA is no longer available as an OSGi bundle
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1487'>OPENJPA-1487</a>] - incomplete tutorial [CONF] OpenJPA > Begin using OpenJPA - The Basics
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1515'>OPENJPA-1515</a>] - CacheStatistics should be disabled by default
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1527'>OPENJPA-1527</a>] - AssociationOverride does not work when applying to the map key of the element collection via orm.xml
+</li>
</ul>
<h4>Improvement</h4>
@@ -236,6 +450,8 @@
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-839'>OPENJPA-839</a>] - change pom.xml to publish sources as well.
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-991'>OPENJPA-991</a>] - Implement LockTimeout using db specific server-side lock timeout feature
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1085'>OPENJPA-1085</a>] - Add toString() method to PCState classes
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1172'>OPENJPA-1172</a>] - Use java.util.concurrent.ConcurrentHashMap rather than a synchronized HashMap in ClassMapping.
@@ -248,6 +464,12 @@
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1368'>OPENJPA-1368</a>] - Upgrade to HSQLDB 1.8.0.10 and in-memory db for unit tests
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1374'>OPENJPA-1374</a>] - Enable junits to be executed against an in-memory Derby 10.5.3.0 db
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1402'>OPENJPA-1402</a>] - Improve (avoid) lock on relation field per 2.0 spec semantics
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1414'>OPENJPA-1414</a>] - Performance improvements for detach
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1415'>OPENJPA-1415</a>] - Performance improvement by reduced logging of batched OLE
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1440'>OPENJPA-1440</a>] - Allow COUNT(*) instead of COUNT(t0.id) for simple queries as an option
@@ -256,12 +478,18 @@
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1468'>OPENJPA-1468</a>] - Upgrade build to use final Bean Validation spec API from Geronimo
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1470'>OPENJPA-1470</a>] - PCEnhancer is overly verbose
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1489'>OPENJPA-1489</a>] - Generated UNIQUE constraint names and HSQL
+</li>
</ul>
<h4>New Feature</h4>
<ul>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-773'>OPENJPA-773</a>] - Upgrade to JPA 2
</li>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1005'>OPENJPA-1005</a>] - Add PersistenceXMLSchemaVersion(); support
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1181'>OPENJPA-1181</a>] - Metamodel Generation must be more selective and controllable
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1276'>OPENJPA-1276</a>] - Support CQL for Criteria Query
@@ -282,6 +510,8 @@
<h4>Task</h4>
<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-757'>OPENJPA-757</a>] - Map existing OpenJPA extensions to new features of JPA 2.0
+</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1183'>OPENJPA-1183</a>] - Ergonomics of metamodel generation process
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-1290'>OPENJPA-1290</a>] - Document Criteria API
@@ -296,6 +526,7 @@
</li>
</ul>
+
<hr>
<h3><a name="200M3">OpenJPA 2.0.0 Milestone 3</h3>
<h4>Sub-task</h4>