Author: mikedd
Date: Thu Jul 31 14:11:23 2008
New Revision: 681498
URL: http://svn.apache.org/viewvc?rev=681498&view=rev
Log:
Updating changes and release notes for 1.2.0 release
Modified:
openjpa/branches/1.2.x/openjpa-project/CHANGES.txt
openjpa/branches/1.2.x/openjpa-project/RELEASE-NOTES.html
Modified: openjpa/branches/1.2.x/openjpa-project/CHANGES.txt
URL:
http://svn.apache.org/viewvc/openjpa/branches/1.2.x/openjpa-project/CHANGES.txt?rev=681498&r1=681497&r2=681498&view=diff
==============================================================================
--- openjpa/branches/1.2.x/openjpa-project/CHANGES.txt (original)
+++ openjpa/branches/1.2.x/openjpa-project/CHANGES.txt Thu Jul 31 14:11:23 2008
@@ -14,7 +14,7 @@
Overview
These notes describe the difference between OpenJPA release 1.2.0 and the
- preceding releases, 0.9.6, 0.9.7, 1.0.0, and 1.1.0.
+ preceding releases: 1.0.0, and 1.1.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
@@ -84,67 +84,114 @@
OpenJPA 1.2.0 Release Notes
Sub-task
- * [OPENJPA-159] - Make ManagedRuntime amenable to more transaction
- execution strategies
+ * [OPENJPA-159] - Make ManagedRuntime amenable to more transaction
execution
+ strategies
* [OPENJPA-545] - Replace UUID implementation with JDK 5 alternatives
* [OPENJPA-575] - Use do priv for to get CL for Oracle empty blob/clob
* [OPENJPA-591] - Entities are flushed before being detached or serialized
- * [OPENJPA-598] - Make BatchingPreparedStatementManagerImpl more flexible
- and extensible
+ * [OPENJPA-598] - Make BatchingPreparedStatementManagerImpl more flexible
and
+ extensible
+ * [OPENJPA-616] - InMemoryUpdate support for functions returning numeric
value
+ such as ABS, SQRT, SIZE etc.
* [OPENJPA-648] - Table generator uses incorrect schema name
* [OPENJPA-661] - Duplicate files included in binary assembly when using
docbook-plugin
Bug
+ * [OPENJPA-20] - Query can return embeddable class
+ * [OPENJPA-44] - metadata-complete element in orm.xml is ignored
* [OPENJPA-51] - bad sql pushdown, sub select is missing from clause
- * [OPENJPA-209] - Query returning 2 entities w/unidir 1-1 relationship gets
- openjpa.persistence.ArgumentException: Address with the
- same id already exists in the L1 cache.
- * [OPENJPA-210] - Query returning 2 entities w/1-1 relationship returns
- wrong types in the result list
+ * [OPENJPA-112] - Native queries and named parameters: poor error message
+ * [OPENJPA-209] - Query returning 2 entities w/unidir 1-1 relationship
gets
+ openjpa.persistence.ArgumentException: Address with the
same
+ id already exists in the L1 cache.
+ * [OPENJPA-210] - Query returning 2 entities w/1-1 relationship returns
wrong
+ types in the result list
+ * [OPENJPA-220] - Examples of using ElementJoinColumn show the wrong usage
* [OPENJPA-241] - Extra SQL on lazy CMR load
+ * [OPENJPA-286] - Can't merge detached One-To-Many child instance. The
+ entities were implement by an internal Hash container.
* [OPENJPA-340] - @UniqueConstraint and corresponding XML ignored
+ * [OPENJPA-349] - No object inserted if entity only contain ID attribute
and
+ set to IDENTITY
+ * [OPENJPA-365] - Unexpected behavior on finding a Composite Key entity
with
+ a single value.
+ * [OPENJPA-393] - @Column(nullable=false) setting not taken into account
for
+ String field values
* [OPENJPA-442] - JIRA-407 introduced backward compatibility problem in
QueryImpl
* [OPENJPA-456] - Missed to validate the column name length for Join Column
- * [OPENJPA-494] - Single Table Inheritance Strategy causes errors when
- reading entities from the database (discriminator
problem)
+ * [OPENJPA-458] - OpenJPA doesn't throw standard JPA exceptions
+ * [OPENJPA-459] - Problem with bulk updates in mySQL
+ * [OPENJPA-462] - OptimisticException is thrown instead of
+ OptimisticLockException
+ * [OPENJPA-470] - Custom sequences specified via @SequenceGenerator must
have
+ parentheses at the end of the class name
+ * [OPENJPA-494] - Single Table Inheritance Strategy causes errors when
reading
+ entities from the database (discriminator problem)
* [OPENJPA-504] - Duplicate order numbers in relationshiptable for the same
List field
+ * [OPENJPA-533] - Bulk update can`t set null embedded object
* [OPENJPA-565] - Duplicate @NamedQuery terminates subsequent @NameQuery
definitions in @NamedQueries
* [OPENJPA-567] - @OrderColumn generates duplicate order numbers.
* [OPENJPA-572] - Merge operation fails with IdClass composite key
- * [OPENJPA-573] - JPQL: The combination LIKE ESCAPE does not accept
+ * [OPENJPA-573] - JPQL: The combination LIKE ESCAPE does not accept
parameters
* [OPENJPA-574] - Cached object in DataCache not evicted due to
StatementBatching not reporting OptimisticException
+ * [OPENJPA-581] - JNDI lookup failures are not generating useful messages
* [OPENJPA-586] - Binding Query parameter fails validation for Externalized
field
* [OPENJPA-589] - Can not retrieve M-to-M data when DataCache is on
* [OPENJPA-590] - The push-down sql for JPQL has unpredictable ordering in
the set clause for update statement
* [OPENJPA-594] - Incorrect schema separator used for Informix tables
- * [OPENJPA-595] - An error occurred while parsing the query filter "SELECT
t
- FROM PessimisticA t WHERE t.id = ?1". Error message: No
+ * [OPENJPA-595] - An error occurred while parsing the query filter "SELECT
+ t FROM PessimisticA t WHERE t.id = ?1". Error message: No
field named "id" in class "t"
* [OPENJPA-596] - ClassCastException during in-memory update with Informix
IDS 10.0
+ * [OPENJPA-602] - NullPointerException at org.apache.openjpa.jdbc.meta.
+ strats.RelationToManyInverseKeyFieldStrategy.map
* [OPENJPA-605] - Informix will throw an exception when a unique index is
explictily created on the primary key columns
+ * [OPENJPA-606] - InformixDictionary default setting beaks many testcases
* [OPENJPA-607] - Extraneous "( )" on DISTINCT, ALL, ANY results in SQL
syntax errors on some database systems
+ * [OPENJPA-612] - Add support for calculating update value in
+ QueryImpl.updateInMemory
+ * [OPENJPA-614] - SqlServer does not support Timestamp precision in nano
+ second
+ * [OPENJPA-617] - Use of hardcoded DB platform strings should be avoided
+ * [OPENJPA-619] - Typos in the manual
* [OPENJPA-622] - Informix -lock timieout, cursor not open problem for
NonJTA datasource transaction RESOURCE_LOCAL in JEE
+ * [OPENJPA-625] - Error when removing embeddable entities from a persistent
+ collection
* [OPENJPA-629] - When creating foreign keys the schema name is not trimmed
for WS before checking DB
* [OPENJPA-630] - Honor batchlimit=1 in statement batching support.
* [OPENJPA-634] - SQLException not reported from Batched statement
+ * [OPENJPA-637] - Significant performance degradation when data cache is
+ enabled
* [OPENJPA-642] - Sybase create foreign key on delete set null failed with
syntax error
+ * [OPENJPA-644] - Handle databaseProductVersion string from newer jcc
driver
+ for DB2 ISeries
+ * [OPENJPA-647] - Dynamic update to DataCacheTimeout property is not
updated
+ in the ClassMetadata
* [OPENJPA-653] - Concurrency issue with query cache enabled
- * [OPENJPA-664] - OpenJPA should prohibit when the name of a schema
+ * [OPENJPA-656] - Incorrect connection URL causes NPE when using JDBC
Driver
+ * [OPENJPA-657] - Compile error: "The method getTextContent() is undefined
+ for the type Node"
+ * [OPENJPA-659] - No state snapshot is available on @Embedded class when
+ using runtime enhancement via spring-tomcat-weaver
+ * [OPENJPA-660] - ClassCastException when using OneToMany Relation and
+ collection is subclass using Discriminator with
+ SINGLE_TABLE strategy.
+ * [OPENJPA-664] - OpenJPA should prohibit when the name of a schema
components such as Table, Column, Constraint exceeds
maximum permissible length for the database platform
* [OPENJPA-665] - OpenJPA allows commit where fields with
@@ -164,7 +211,7 @@
* [OPENJPA-407] - Cache SQL (or closer precursors to SQL) more aggressively
* [OPENJPA-515] - OpenJPA extension for distributed databases
* [OPENJPA-570] - Misleading "Found duplicate query" warning message
- * [OPENJPA-578] - Specifying a default for VersionStrategy in
+ * [OPENJPA-578] - Specifying a default for VersionStrategy in
persistence.xml has no effect when a version field is
present in the entity class.
* [OPENJPA-584] - OpenJPA-149 changes are not IDE friendly
@@ -172,8 +219,12 @@
SchemaTool
* [OPENJPA-604] - Log spec sets in persistence unit's property fail with
exception when run in different locale
+ * [OPENJPA-631] - Report detailed message when executeBatch throws
+ SQLException for DB2
* [OPENJPA-633] - Update the release process to use maven plugins
* [OPENJPA-666] - MS SQL Server 2005 does not support native sequences.
+ * [OPENJPA-667] - Documentaion on configuration properties should link to
+ corresponding JavaDoc method description
New Feature
Modified: openjpa/branches/1.2.x/openjpa-project/RELEASE-NOTES.html
URL:
http://svn.apache.org/viewvc/openjpa/branches/1.2.x/openjpa-project/RELEASE-NOTES.html?rev=681498&r1=681497&r2=681498&view=diff
==============================================================================
--- openjpa/branches/1.2.x/openjpa-project/RELEASE-NOTES.html (original)
+++ openjpa/branches/1.2.x/openjpa-project/RELEASE-NOTES.html Thu Jul 31
14:11:23 2008
@@ -18,8 +18,8 @@
<h2><a name="Overview"></a>Overview</h2>
-<p> 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.
+<p> These notes describe the difference between OpenJPA release 1.2.0
+and the preceding releases: 1.0.0 and 1.1.0.
<P>
OpenJPA is a feature-rich implementation of the persistence part of
Java Community Process JSR-220 (Enterprise JavaBeans 3.0), which is
@@ -112,6 +112,8 @@
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-598'>OPENJPA-598</a>] -
Make BatchingPreparedStatementManagerImpl more flexible and extensible
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-616'>OPENJPA-616</a>] -
InMemoryUpdate support for functions returning numeric value such as ABS,
SQRT, SIZE etc.
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-648'>OPENJPA-648</a>] -
Table generator uses incorrect schema name
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-661'>OPENJPA-661</a>] -
Duplicate files included in binary assembly when using docbook-plugin
@@ -121,24 +123,50 @@
<h2><a name='Bug'> Bug
</h2>
<ul>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-20'>OPENJPA-20</a>] -
Query can return embeddable class
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-44'>OPENJPA-44</a>] -
metadata-complete element in orm.xml is ignored
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-51'>OPENJPA-51</a>] -
bad sql pushdown, sub select is missing from clause
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-112'>OPENJPA-112</a>] -
Native queries and named parameters: poor error message
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-209'>OPENJPA-209</a>] -
Query returning 2 entities w/unidir 1-1 relationship gets
openjpa.persistence.ArgumentException: Address with the same id already exists
in the L1 cache.
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-210'>OPENJPA-210</a>] -
Query returning 2 entities w/1-1 relationship returns wrong types in the
result list
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-220'>OPENJPA-220</a>] -
Examples of using ElementJoinColumn show the wrong usage
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-241'>OPENJPA-241</a>] -
Extra SQL on lazy CMR load
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-286'>OPENJPA-286</a>] -
Can't merge detached One-To-Many child instance. The entities were
implement by an internal Hash container.
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-340'>OPENJPA-340</a>] -
@UniqueConstraint and corresponding XML ignored
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-349'>OPENJPA-349</a>] -
No object inserted if entity only contain ID attribute and set to IDENTITY
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-365'>OPENJPA-365</a>] -
Unexpected behavior on finding a Composite Key entity with a single value.
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-393'>OPENJPA-393</a>] -
@Column(nullable=false) setting not taken into account for String field
values
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-442'>OPENJPA-442</a>] -
JIRA-407 introduced backward compatibility problem in QueryImpl
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-456'>OPENJPA-456</a>] -
Missed to validate the column name length for Join Column
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-458'>OPENJPA-458</a>] -
OpenJPA doesn't throw standard JPA exceptions
+</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-462'>OPENJPA-462</a>] -
OptimisticException is thrown instead of OptimisticLockException
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-470'>OPENJPA-470</a>] -
Custom sequences specified via @SequenceGenerator must have parentheses at
the end of the class name
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-494'>OPENJPA-494</a>] -
Single Table Inheritance Strategy causes errors when reading entities from
the database (discriminator problem)
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-504'>OPENJPA-504</a>] -
Duplicate order numbers in relationshiptable for the same List field
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-533'>OPENJPA-533</a>] -
Bulk update can`t set null embedded object
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-565'>OPENJPA-565</a>] -
Duplicate @NamedQuery terminates subsequent @NameQuery definitions in
@NamedQueries
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-567'>OPENJPA-567</a>] -
@OrderColumn generates duplicate order numbers.
@@ -149,6 +177,8 @@
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-574'>OPENJPA-574</a>] -
Cached object in DataCache not evicted due to StatementBatching not
reporting OptimisticException
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-581'>OPENJPA-581</a>] -
JNDI lookup failures are not generating useful messages
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-586'>OPENJPA-586</a>] -
Binding Query parameter fails validation for Externalized field
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-589'>OPENJPA-589</a>] -
Can not retrieve M-to-M data when DataCache is on
@@ -161,22 +191,50 @@
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-596'>OPENJPA-596</a>] -
ClassCastException during in-memory update with Informix IDS 10.0
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-602'>OPENJPA-602</a>] -
NullPointerException at
org.apache.openjpa.jdbc.meta.strats.RelationToManyInverseKeyFieldStrategy.map
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-605'>OPENJPA-605</a>] -
Informix will throw an exception when a unique index is explictily created
on the primary key columns
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-606'>OPENJPA-606</a>] -
InformixDictionary default setting beaks many testcases
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-607'>OPENJPA-607</a>] -
Extraneous "( )" on DISTINCT, ALL, ANY results in SQL syntax
errors on some database systems
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-612'>OPENJPA-612</a>] -
Add support for calculating update value in QueryImpl.updateInMemory
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-614'>OPENJPA-614</a>] -
SqlServer does not support Timestamp precision in nano second
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-617'>OPENJPA-617</a>] -
Use of hardcoded DB platform strings should be avoided
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-619'>OPENJPA-619</a>] -
Typos in the manual
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-622'>OPENJPA-622</a>] -
Informix -lock timieout, cursor not open problem for NonJTA datasource
transaction RESOURCE_LOCAL in JEE
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-625'>OPENJPA-625</a>] -
Error when removing embeddable entities from a persistent collection
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-629'>OPENJPA-629</a>] -
When creating foreign keys the schema name is not trimmed for WS before
checking DB
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-630'>OPENJPA-630</a>] -
Honor batchlimit=1 in statement batching support.
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-634'>OPENJPA-634</a>] -
SQLException not reported from Batched statement
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-637'>OPENJPA-637</a>] -
Significant performance degradation when data cache is enabled
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-642'>OPENJPA-642</a>] -
Sybase create foreign key on delete set null failed with syntax error
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-644'>OPENJPA-644</a>] -
Handle databaseProductVersion string from newer jcc driver for DB2 ISeries
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-647'>OPENJPA-647</a>] -
Dynamic update to DataCacheTimeout property is not updated in the
ClassMetadata
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-653'>OPENJPA-653</a>] -
Concurrency issue with query cache enabled
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-656'>OPENJPA-656</a>] -
Incorrect connection URL causes NPE when using JDBC Driver
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-657'>OPENJPA-657</a>] -
Compile error: "The method getTextContent() is undefined for the type
Node"
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-659'>OPENJPA-659</a>] -
No state snapshot is available on @Embedded class when using runtime
enhancement via spring-tomcat-weaver
+</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-660'>OPENJPA-660</a>] -
ClassCastException when using OneToMany Relation and collection is subclass
using Discriminator with SINGLE_TABLE strategy.
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-664'>OPENJPA-664</a>] -
OpenJPA should prohibit when the name of a schema components such as Table,
Column, Constraint exceeds maximum permissible length for the database platform
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-665'>OPENJPA-665</a>] -
OpenJPA allows commit where fields with @Column(nullable=false) set to null
@@ -210,12 +268,16 @@
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-604'>OPENJPA-604</a>] -
Log spec sets in persistence unit's property fail with exception when run
in different locale
</li>
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-631'>OPENJPA-631</a>] -
Report detailed message when executeBatch throws SQLException for DB2
+</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-633'>OPENJPA-633</a>] -
Update the release process to use maven plugins
</li>
<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-666'>OPENJPA-666</a>] -
MS SQL Server 2005 does not support native sequences.
</li>
-</ul>
-
+<li>[<a
href='https://issues.apache.org/jira/browse/OPENJPA-667'>OPENJPA-667</a>] -
Documentaion on configuration properties should link to corresponding
JavaDoc method description
+</li>
+</ul>
+
<h2><a name='New Feature'> New Feature
</h2>
<ul>