Apache OpenJPA 2.1.1 Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0 -------------------------------------------------------------------------------- Content ------- * Overview * License * Notices * Prerequisites * Documentation * Getting Involved * Included Changes * Sub-tasks * Bugs * Improvements * New Features * Test Overview -------- The Apache OpenJPA community is proud to release OpenJPA 2.1.1. 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 compatible with prior releases based on the Java Persistence API (JPA 1.0) part of Java Community Process JSR-220 (Enterprise JavaBeans 3.0). Additional information on the OpenJPA project may be found at the project web site: http://openjpa.apache.org License ------- 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 http://www.apache.org/licenses/LICENSE-2.0 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. The license may also be found in LICENSE.txt included in each assembly. Notices ------- Copyright 2006,2011 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/). OpenJPA includes the persistence and orm schemas from the JPA specifications. Copyright 2005-2009 Sun Microsystems, Inc. All rights reserved. OpenJPA elects to include this software in this distribution under the CDDL license. You can obtain a copy of the License at: https://glassfish.dev.java.net/public/CDDL+GPL.html 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 ------------- OpenJPA requires Java SE 6 or higher and a relational database of some sort. Documentation ------------- 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 http://openjpa.apache.org/documentation.html If you can't find what you are looking for in the manual or would like more clarification, please post to the OpenJPA development mailing list. Information on all of the OpenJPA mailing lists may be found here: http://openjpa.apache.org/mailing-lists.html Getting Involved ---------------- The Apache OpenJPA project is being built by the open source community for 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 How do I contribute? * 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 issue tracker at https://issues.apache.org/jira/browse/OPENJPA Included Changes in OpenJPA 2.1.1 ------------------------------------------ Bug * [OPENJPA-940] - Using table-generator in XML descriptor results in ClassCastException * [OPENJPA-1657] - Postgres connection throws NPE with null properties * [OPENJPA-1725] - Schemaname wrongly included in DBDictionary.checkNameLength after Tablename correctly truncated * [OPENJPA-1787] - Bean validation fails merging a new entity * [OPENJPA-1845] - the prepared query cache doesn't currently work correclty with 'SELECT IN' statements * [OPENJPA-1884] - CacheStoreMode.REFRESH is not recognized for entity manager refresh operation * [OPENJPA-1899] - Evict from L2 of a object causes secondary objects to never be loaded in graph * [OPENJPA-1939] - index identifier max length for DB2 v9 is 128. * [OPENJPA-1940] - ReverseMapping tool does not find primary keys with Oracle * [OPENJPA-1943] - Query timeout hint not honored consistently when pessimistic lock is issued to database requires multi-statements locking scheme * [OPENJPA-1944] - Extra select statements executed when version column is null. * [OPENJPA-1957] - XML overriding column names for ArrayList attributes causes exception. * [OPENJPA-1958] - IndexOutOfBoundsException in BatchingPreparedStatementManagerImpl * [OPENJPA-1959] - RuntimeExceptionTranslator should be transient in DelegatingQuery * [OPENJPA-1965] - ClassCastException when using JAXB and MetaModel annotation processor * [OPENJPA-1968] - SQLServerDictionery not using DATETIME2 for jdbc driver other than MS JDBC driver * [OPENJPA-1969] - SQLServer / DataDirect SQLCode=HYT00 not handled * [OPENJPA-1985] - ClassCastException in max(Timestamp) function on PostgreSQL * [OPENJPA-1986] - Extra queries being generated when cascading a persist * [OPENJPA-1989] - *ToOne relationships specified as LAZY in xml aren't honored * [OPENJPA-1996] - OpenJPA Samples fail on MacOS X Improvement * [OPENJPA-1778] - Improved error information for unenhanced classes. * [OPENJPA-1798] - Improve messages in localize.properties * [OPENJPA-1972] - DB2 V9.7 changed the default behavior concerning blocking behavior with isolation levels greater then read uncommitted * [OPENJPA-1990] - Skip getting extend exception text when running on DB2 * [OPENJPA-1999] - Optional support for non-sequential positional parameters * [OPENJPA-2014] - Allow proxies to stay in place when Detaching * [OPENJPA-2020] - Make some members of StateManagerImpl protected to allow for greater extensability