blob: 3cd421f8deabca48a20e033656aeb4144e04a23a [file] [log] [blame]
<html>
<title>Release Notes for OpenJPA 1.2.1</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="#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 1.2.1
and the preceding release: 1.2.0.
<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.
</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 1.2.1.
<h2><a name='Sub-task'> Sub-task
</h2>
<ul>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-681'>OPENJPA-681</a>] - Subquery generates SQL with syntax error
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-708'>OPENJPA-708</a>] - sub-sub-query generates SQL with syntax error
</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-765'>OPENJPA-765</a>] - Check for insertable or updateable before checking value for null
</li>
</ul>
<h2><a name='Bug'> Bug
</h2>
<ul>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-646'>OPENJPA-646</a>] - JDK problems with defineClass and enum class types
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-650'>OPENJPA-650</a>] - Document openjpa.RuntimeUnenhancedClasses=unsupported/warn configuration property
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-676'>OPENJPA-676</a>] - Connection used for NativeSequences is not closed
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-679'>OPENJPA-679</a>] - java.lang.ArrayIndexOutOfBoundsException may occur when a relation field is annotated as a primary key and a foreign key
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-685'>OPENJPA-685</a>] - Problem enhancing test cases with Maven 2.0.9
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-702'>OPENJPA-702</a>] - MappingTool fails requires appropriate DESCSTAT parm value on DB2 for z/OS
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-710'>OPENJPA-710</a>] - Unordered collection field adds ORDER BY clause
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-711'>OPENJPA-711</a>] - PDF manual lacks images
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-713'>OPENJPA-713</a>] - openjpa-1.2.0.jar file is 11 MB
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-715'>OPENJPA-715</a>] - OpenJpa does not generate IDs properly. &quot;duplicate key value in a unique or primary key constraint&quot; while merging object tree.
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-719'>OPENJPA-719</a>] - GeneralException in PCEnhancer during class transform in Turkish locale AppServer setting
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-724'>OPENJPA-724</a>] - Corrections for the manual
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-727'>OPENJPA-727</a>] - Image mapping-table.png missing in HTML manual
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-731'>OPENJPA-731</a>] - Bug on FetchType.EAGER when QuerySQLCache is turned on
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-733'>OPENJPA-733</a>] - Entity contains pseudo-attached embeddable after detach
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-745'>OPENJPA-745</a>] - Sybase by default silently truncates a string which is longer than the column length without raising an exception
</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-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-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-835'>OPENJPA-835</a>] - Loading nested toMany EAGER relation resuled in PersistenceException
</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-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-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-912'>OPENJPA-912</a>] - Potential NPE in setInverseRelation
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-917'>OPENJPA-917</a>] - stored procedures throw InvalidStateException when using getSingleResult() or getResultList()
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-919'>OPENJPA-919</a>] - JUnit for Bi-directional OneToOne with null relationships
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-925'>OPENJPA-925</a>] - Bidirectional OneToOne relation incorrectly set in loadEagerJoin
</li>
</ul>
<h2><a name='Improvement'> Improvement
</h2>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-686'>OPENJPA-686</a>] - Openjpa manual needs to be updated for database restriction on BigDecimal field on Sybase
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-726'>OPENJPA-726</a>] - Provide MD5Sums for latest downloads
</li>
<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 &quot;PersistenceException: null&quot;
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-772'>OPENJPA-772</a>] - Proper maven pluginManagement and use ianal-maven-plugin for enforcing legal files
</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-817'>OPENJPA-817</a>] - Order of inserts lost when using ConstraintUpdateManager
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-876'>OPENJPA-876</a>] - Better test profiles for proprietary databases (DB2, Oracle) and continuous build
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-881'>OPENJPA-881</a>] - Enable connection pooling for testcases.
</li>
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-901'>OPENJPA-901</a>] - Use hosted JAI artifacts as the default for the docbook build
</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>