mirror of https://github.com/apache/openjpa.git
266 lines
14 KiB
HTML
266 lines
14 KiB
HTML
<html>
|
|
<title>Release Notes for OpenJPA</title>
|
|
<body>
|
|
<h1>Release Notes for OpenJPA</h1>
|
|
|
|
<ul>
|
|
<li><a href="#Overview">Overview</a></li>
|
|
<li><a href="#License">License</a></li>
|
|
<li><a href="#Prerequisites">Prerequisites</a></li>
|
|
<li><a href="#Documentation">Documentation</a></li>
|
|
<li><a href="#GetInvolved">Getting Involved</a></li>
|
|
<li><a href="#Sub-task">Sub-task</a></li>
|
|
<li><a href="#Bug">Bug</a></li>
|
|
<li><a href="#Improvement">Improvement</a></li>
|
|
<li><a href="#New Feature">New Feature</a></li>
|
|
<li><a href="#Test">Test</a></li>
|
|
<li><a href="#Previous">RELEASE-NOTES for previous releases</a></li>
|
|
</ul>
|
|
|
|
<h2><a name="Overview"></a>Overview</h2>
|
|
|
|
<P>These notes describe the difference between OpenJPA release 2.0.0 Milestone
|
|
1 and the preceding release, 1.2.0.</P>
|
|
|
|
<P>OpenJPA is a feature-rich implementation of the persistence part of Java
|
|
Community Process JSR-220 (Enterprise JavaBeans 3.0), which is known as the
|
|
Java Persistence API (JPA). OpenJPA can be used as a stand-alone POJO
|
|
persistence layer, or it can be integrated into any EJB3.0 compliant container
|
|
and many lightweight frameworks. This release of OpenJPA is 100% compliant
|
|
with the JPA specification. This release of OpenJPA also includes some
|
|
functionality from the Java Community Process JSR-317 (JPA 2.0). For the
|
|
complete list of supported features please refer to the OpenJPA online issue
|
|
tracker:
|
|
<a href="http://issues.apache.org/jira/browse/OPENJPA">http://issues.apache.org/jira/browse/OPENJPA</a>.
|
|
</P>
|
|
|
|
<p>
|
|
Additional information on the OpenJPA project may be found at the project web
|
|
site: <a href="http://openjpa.apache.org">
|
|
http://openjpa.apache.org</a>
|
|
|
|
<h2><a name="License"></a>License</h2>
|
|
<P>Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
<BR><P><a href="http://www.apache.org/licenses/LICENSE-2.0">
|
|
http://www.apache.org/licenses/LICENSE-2.0</a>
|
|
|
|
<BR><P>Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
|
|
<BR><P>The license may also be found in LICENSE.txt which is included
|
|
in each release of OpenJPA.
|
|
|
|
<h2><a name="Prerequisites"></a>Prerequisites</h2>
|
|
<P>
|
|
In normal usage, OpenJPA requires Java 5 or higher and a relational
|
|
database of some sort.
|
|
|
|
<h2><a name="Documentation"></a>Documentation</h2>
|
|
<p>If you have questions about OpenJPA, a good source of information is the
|
|
online product manual. You can find the manual for the current release as well
|
|
as older releases of OpenJPA at
|
|
<a href="http://openjpa.apache.org/documentation.html">
|
|
http://openjpa.apache.org/documentation.html</a>
|
|
<p>If you can't find what you're looking for in the manual or would like more
|
|
clarification you please post to the OpenJPA development mailing list.
|
|
Information on all of the OpenJPA mailing lists may be found here:
|
|
<a href="http://openjpa.apache.org/mailing-lists.html">
|
|
http://openjpa.apache.org/mailing-lists.html</a>
|
|
|
|
<p>
|
|
<h2><a name="GetInvolved"></a>Getting Involved</h2>
|
|
<p>
|
|
The Apache OpenJPA project is being built by the open source community for the
|
|
open source community - we welcome your input and contributions!
|
|
<P>
|
|
What we are looking for
|
|
<ul>
|
|
<li> Source code and fixes contributions </li>
|
|
<li> Documentation assistance </li>
|
|
<li> Product and feature suggestions </li>
|
|
<li> Detailed and constructive feedback </li>
|
|
<li> Articles and whitepapers </li>
|
|
</ul>
|
|
<p>
|
|
How do I Contribute?
|
|
<ul>
|
|
<li> To discuss Apache OpenJPA topics check out the mailing lists. </li>
|
|
<li> Informal discussion also occurs on the #openjpa IRC channel on
|
|
freenode.net. </li>
|
|
<li> Bugs and other issues can be posted on the project JIRA. </li>
|
|
</ul>
|
|
|
|
|
|
Release Notes - OpenJPA - Version 2.0.0
|
|
|
|
|
|
Release Notes - OpenJPA - Version 2.0.0
|
|
|
|
<h2><a name="Sub-task"> Sub-task
|
|
</h2>
|
|
<ul>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-722'>OPENJPA-722</a>] - persist - clear - merge scenario doesn't work
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-744'>OPENJPA-744</a>] - Extra SQL on LAZY/EAGER ManyToOne relation
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-754'>OPENJPA-754</a>] - Un-scheduled pre/postUpdate callbacks from persist.
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-765'>OPENJPA-765</a>] - Check for insertable or updateable before checking value for null
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-769'>OPENJPA-769</a>] - Add compatibility option to use previous column naming convention
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-770'>OPENJPA-770</a>] - Use annotations instead of excluding tests in pom.xml
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-782'>OPENJPA-782</a>] - Support for collections of embeddables and basic types
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-803'>OPENJPA-803</a>] - Update SequenceGenerator to support schema and catalog
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-804'>OPENJPA-804</a>] - JPA 2.0 spec API update - iteration 1
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-805'>OPENJPA-805</a>] - JPQL updates - iteration 1
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-809'>OPENJPA-809</a>] - Support JPA 2.0 Cache Interface
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-823'>OPENJPA-823</a>] - Add JPA 2.0 schemas and appropriately validate for version
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-837'>OPENJPA-837</a>] - OpenJPA 2.0: Update OpenJPA documentation with new persistence schemas
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-850'>OPENJPA-850</a>] - Support equivalent names for plug-in value
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-851'>OPENJPA-851</a>] - Support for enhanced map collection (and corresponding annotations)
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-855'>OPENJPA-855</a>] - JPA2 Query support for Index function
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-856'>OPENJPA-856</a>] - JPA2 Query support for entity type expressions
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-861'>OPENJPA-861</a>] - Update the manual for XML column support for MySQL
|
|
</li>
|
|
</ul>
|
|
|
|
<h2><a name="Bug"> Bug
|
|
</h2>
|
|
<ul>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-557'>OPENJPA-557</a>] - Primary key sequences broken with postgres schemas
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-580'>OPENJPA-580</a>] - Need a better algorithm to find DBDictionary classname in DBDictionaryFactory
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-732'>OPENJPA-732</a>] - Updates to entities via Lifecycle callback methods
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-751'>OPENJPA-751</a>] - Typos in the manual
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-755'>OPENJPA-755</a>] - OpenJPA thows EntityExistsException trying persist a preexisting, detached entity
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-761'>OPENJPA-761</a>] - SchemaTool failed with a NPE in ForeignKey.join
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-762'>OPENJPA-762</a>] - Batch execution fails for Oracle when batch limit set to -1 (unlimited batch size)
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-764'>OPENJPA-764</a>] - Query parsing error with IN expression and String functions such as UPPER()
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-777'>OPENJPA-777</a>] - Exception is thrown during retrieval of an entity which contains a persistent collection of embeddable
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-787'>OPENJPA-787</a>] - slices query.getSingleResult is broken
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-792'>OPENJPA-792</a>] - An entity persist may fail when @MappedSupercalss is specified.
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-795'>OPENJPA-795</a>] - enhancer throws an exception when parsing column name "first.name" because it thinks 'first' is a table name
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-811'>OPENJPA-811</a>] - With Oracle, OpenJPA allows setting non-nullable field to null
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-815'>OPENJPA-815</a>] - Exception is thrown when retrieving an entity which contains an embeddable and the embeddable contains a toMany relation
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-818'>OPENJPA-818</a>] - TCK module should use Geronimo JPA 2.0 EA jar
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-819'>OPENJPA-819</a>] - NPE when no metadata is defined for a persistent class
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-834'>OPENJPA-834</a>] - State field mapped to XML column has incorrect value when loaded from database
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-835'>OPENJPA-835</a>] - Loading nested toMany EAGER relation resuled in PersistenceException
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-836'>OPENJPA-836</a>] - after em.clear the datacache is inconsistent
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-838'>OPENJPA-838</a>] - fix parameter setting problem when QuerySQLCache is on
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-843'>OPENJPA-843</a>] - Unnecessary version update on inverse-side of a 1-m relationship
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-853'>OPENJPA-853</a>] - Informix cursor not open problem if synchronizeMapping set true
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-863'>OPENJPA-863</a>] - Unexpected mere-cascade behavior when cascade.all/merge specified on both sides of relationships !!!
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-864'>OPENJPA-864</a>] - Subquery problems with SYNTAX_DATABASE (Oracle)
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-872'>OPENJPA-872</a>] - Compound custom id in bidirectional many-to-one
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-873'>OPENJPA-873</a>] - @MappedSuperClass Cause Null Pointer Exception in Class With IdClass
|
|
</li>
|
|
</ul>
|
|
|
|
<h2><a name="Improvement"> Improvement
|
|
</h2>
|
|
<ul>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-742'>OPENJPA-742</a>] - Add line number and column number to QueryMetaData
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-752'>OPENJPA-752</a>] - ProxySetupStateManager.setProxyData routing through PersistanceCapable caused "PersistenceException: null"
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-772'>OPENJPA-772</a>] - Use apache pom as parent
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-778'>OPENJPA-778</a>] - cleaning up build for openjpa-kernel
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-779'>OPENJPA-779</a>] - patch for eclipse .project and .classpath files...
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-780'>OPENJPA-780</a>] - code review for DistributedStoreManager
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-781'>OPENJPA-781</a>] - openjpa-jdbc depends on postgres driver, should be "provided"
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-783'>OPENJPA-783</a>] - openjpa-lib/pom.xml has extraneous code
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-784'>OPENJPA-784</a>] - more pom.xml dependency cleanup
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-817'>OPENJPA-817</a>] - Order of inserts lost when using ConstraintUpdateManager
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-854'>OPENJPA-854</a>] - Testcases should not specify log level
|
|
</li>
|
|
</ul>
|
|
|
|
<h2><a name="New Feature"> New Feature
|
|
</h2>
|
|
<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-800'>OPENJPA-800</a>] - OpenJPA 2.0 iteration 1 primary task
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-807'>OPENJPA-807</a>] - OpenJPA 2.0 iteration 2 primary task
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-831'>OPENJPA-831</a>] - OpenJPA 2.0 iteration 1.5 (holiday) primary task
|
|
</li>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-846'>OPENJPA-846</a>] - XML column support for MySQL
|
|
</li>
|
|
</ul>
|
|
|
|
<h2><a name="Test"> Test
|
|
</h2>
|
|
<ul>
|
|
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-833'>OPENJPA-833</a>] - An improved test case for XML column mapping
|
|
</li>
|
|
</ul>
|
|
|
|
<h2><a name="Previous"></a> Previous Releases
|
|
</h2>
|
|
Release notes for earlier releases of OpenJPA may be found in SVN at the following locations.
|
|
<li><a href='http://svn.apache.org/viewvc/openjpa/tags/1.2.0/openjpa-project/RELEASE-NOTES.html?view=markup'>OpenJPA 1.2.0 RELEASE-NOTES.html</a></li>
|
|
<li><a href='http://svn.apache.org/viewvc/openjpa/tags/1.1.0/openjpa-project/RELEASE-NOTES.html?view=markup'>OpenJPA 1.1.0 RELEASE-NOTES.html</a></li>
|
|
<li><a href='http://svn.apache.org/viewvc/openjpa/tags/1.0.0/openjpa-project/RELEASE-NOTES.html?view=markup'>OpenJPA 1.0.0 RELEASE-NOTES.html</a></li>
|
|
|
|
</body>
|
|
</html>
|