mirror of https://github.com/apache/openjpa.git
merged changes from 1.1.0 release assembly process to 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@657897 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
46b63eced2
commit
26dad2ab71
|
@ -28,13 +28,13 @@ website at http://openjpa.apache.org/building-openjpa.html
|
|||
java -version
|
||||
OpenJPA requires Java 1.5 but will not compile with Java 6. For more
|
||||
detail please see http://issues.apache.org/jira/browse/OPENJPA-5.
|
||||
2. Install the build tool Apache Maven 2.0.4, from http://maven.apache.org/.
|
||||
2. Install the build tool Apache Maven 2.0.6, from http://maven.apache.org/.
|
||||
If it is installed correctly, typing mvn -v from the console will result
|
||||
in the text "Maven version: 2.0.4"
|
||||
in the text "Maven version: 2.0.6"
|
||||
3. Extract the source archive if you have not already done so.
|
||||
The source will create a new directory named:
|
||||
openjpa-project-${version}-source. Where ${version} is the openjpa
|
||||
version, for example openjpa-project-0.9.7-incubating-source.
|
||||
openjpa-<version>-source. Where <version> is the openjpa
|
||||
version, for example apache-openjpa-1.1.0-source.
|
||||
4. Change to the openjpa source directory, which has already been created in
|
||||
the previous step.
|
||||
5. Build OpenJPA by running: mvn package or better mvn install.
|
||||
|
@ -56,7 +56,7 @@ website at http://openjpa.apache.org/building-openjpa.html
|
|||
</settings>
|
||||
|
||||
If any tests fail, and you want to ignore the failures, instead run:
|
||||
mvn package -Dtest=false
|
||||
mvn package -DskipTests
|
||||
|
||||
An example session as as follows:
|
||||
|
||||
|
|
|
@ -1,22 +1,20 @@
|
|||
Release Notes for OpenJPA
|
||||
|
||||
* Overview
|
||||
* License
|
||||
* Prerequisites
|
||||
* Documentation
|
||||
* Getting Involved
|
||||
* Bugs
|
||||
* Improvements
|
||||
* New Features
|
||||
* Task
|
||||
* Test
|
||||
* Overview
|
||||
* License
|
||||
* Prerequisites
|
||||
* Documentation
|
||||
* Getting Involved
|
||||
* Bugs
|
||||
* Improvements
|
||||
* New Features
|
||||
* Task
|
||||
* Test
|
||||
|
||||
Overview
|
||||
|
||||
These notes describe the difference between OpenJPA release 1.0.0 and the
|
||||
preceding releases, 0.9.6 and 0.9.7. 1.0.0 is the first major release
|
||||
since OpenJPA graduated to an Apache top level project (TLP), and contains
|
||||
many new features and bugfixes.
|
||||
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.
|
||||
|
||||
OpenJPA is a feature-rich implementation of the persistence part of Java
|
||||
Community Process JSR-220 (Enterprise JavaBeans 3.0), which is known as
|
||||
|
@ -50,8 +48,8 @@ License
|
|||
|
||||
Prerequisites
|
||||
|
||||
OpenJPA requires Java 1.5 but will not compile with Java 6. For more
|
||||
detail please see http://issues.apache.org/jira/browse/OPENJPA-5
|
||||
In normal usage, OpenJPA requires Java 5 or higher and a relational
|
||||
database of some sort.
|
||||
|
||||
Documentation
|
||||
|
||||
|
@ -71,113 +69,436 @@ Getting Involved
|
|||
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
|
||||
* 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
|
||||
* 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 project JIRA.
|
||||
* Bugs and other issues can be posted on the project JIRA.
|
||||
|
||||
OpenJPA 1.1.0 Release Notes
|
||||
|
||||
New Features
|
||||
* [OPENJPA-130] - Streaming LOB support
|
||||
* [OPENJPA-147] - <T> T OpenJPAEntityManager.createInstance(Class<T> cls) fails when T is interface
|
||||
* [OPENJPA-344] - Allow serialization of runtime parsed data, and loading of serialized data into runtime caches
|
||||
* [OPENJPA-404] - Backward-compatibility for pre-1.0 APIs
|
||||
* [OPENJPA-417] - Support more elements in collections and maps
|
||||
* [OPENJPA-430] - Automatically remove hungarian notation from column names.
|
||||
* [OPENJPA-469] - Generic (user, custom) GeneratedValue
|
||||
* [OPENJPA-490] - JPQL extension: aggregates in ORDER BY
|
||||
* [OPENJPA-491] - JPQL extension: scalar functions in GROUP BY
|
||||
* [OPENJPA-492] - JPQL extension: scalar functions in SELECT
|
||||
* [OPENJPA-544] - Remove JDK1.4 support
|
||||
|
||||
Sub-tasks
|
||||
* [OPENJPA-408] - Improve error processing for openjpa.RuntimeUnenhancedClasses property settings
|
||||
* [OPENJPA-502] - JPQL compliance setting
|
||||
* [OPENJPA-517] - Oracle also supports WITH statements
|
||||
* [OPENJPA-591] - Entities are flushed before being detached or serialized
|
||||
|
||||
Bugs
|
||||
* [OPENJPA-9] - PCEnhancer not processing multiple PU's defined within a single persistence.xml file
|
||||
* [OPENJPA-78] - Automatic runtime enhancement only works when the class is listed in the first persistence-unit
|
||||
* [OPENJPA-113] - when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key field (eg.EmpBean_empid) in the table produced.
|
||||
* [OPENJPA-231] - Incorrect handling of cascading bidirectional collections during merge/attach
|
||||
* [OPENJPA-245] - Attach NEW and auto-increment identity
|
||||
* [OPENJPA-251] - org.apache.openjpa.enhance.Reflection.getDeclaredMethod() has undefined behavior, leading to VM-dependent crashes
|
||||
* [OPENJPA-255] - Inconsistent behavior during merge with cascade=none
|
||||
* [OPENJPA-258] - MetaDataInheritanceComparator is not transitive; C > B > A > C leads to out-of-memory crash in PCEnhancer
|
||||
* [OPENJPA-282] - Postgresql does not support deferred unique constraints.
|
||||
* [OPENJPA-295] - ArrayIndexOutofBoundsException when under load and within a managed Transaction
|
||||
* [OPENJPA-322] - Timezone on the Calendar object lost in proxying
|
||||
* [OPENJPA-326] - NPE if a discriminator column is specified without discriminator type in orm.xml
|
||||
* [OPENJPA-329] - Generic interface may cause the openjpa Reflection code to pickup the wrong getter method
|
||||
* [OPENJPA-331] - Allow BigInteger and other Basic types as Primary Keys
|
||||
* [OPENJPA-335] - Logic in getters for entities with property access causes the PCEnhancer to hang
|
||||
* [OPENJPA-339] - Java 2 security Access denied in File.toURL() call
|
||||
* [OPENJPA-343] - Do not call setRollbackOnly on inactive Transactions
|
||||
* [OPENJPA-346] - PCEnhancerAgent backwards-compatibility setting overly-enables enhancement
|
||||
* [OPENJPA-347] - Performance Issue with Lazy Loaded Foreign Keys
|
||||
* [OPENJPA-353] - Character discriminators are not converted correctly if storeCharsAsNumbers = true
|
||||
* [OPENJPA-355] - OpenJPA Log4J factory incorrectly handles logging level
|
||||
* [OPENJPA-356] - DB2 requires CASTs when parameters appear in SELECT clause
|
||||
* [OPENJPA-357] - Use case where FetchGroup A includes FecthGroup B is not honoured by fetch operations
|
||||
* [OPENJPA-358] - Recursion Depth for Field f should be calculated w.r.t active fetch groups and not all fetch groups
|
||||
* [OPENJPA-359] - OptimisticLockException NOT thrown for entity using Timestamp Version when update from concurrent persistence contexts
|
||||
* [OPENJPA-360] - SQL FOR UPDATE OF incorrectly generated for DB2/NT SQL0816
|
||||
* [OPENJPA-361] - Incorrect GREG_OFFSET offset or inconsistent usage in UUIDGenerator
|
||||
* [OPENJPA-364] - maven build order is incorrect
|
||||
* [OPENJPA-366] - InternalException thrown in BrokerImpl.endOperation
|
||||
* [OPENJPA-367] - PCEnhancer does not find meta data for entities using pure XML annotation
|
||||
* [OPENJPA-368] - Multithreaded client fails randomly on EntityManager.persist() with out transaction context.
|
||||
* [OPENJPA-369] - AccessDeclaredMembers RuntimePermission requires by Solaris JDK with security enabled
|
||||
* [OPENJPA-370] - LoadFetchGroup annotation was not recognized during the fetch1
|
||||
* [OPENJPA-372] - PCEnhancer throws away its classloader
|
||||
* [OPENJPA-375] - DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
|
||||
* [OPENJPA-378] - DB2 SQL incorrectly generating "FETCH FIRST n ROWS ONLY" in subselects
|
||||
* [OPENJPA-379] - StoreException when using a third party connection pool against Sybase
|
||||
* [OPENJPA-380] - Connecting to database when an unused emf is closed
|
||||
* [OPENJPA-381] - OpenJPA is not doing Optimistic locking when running in JEE evnironment
|
||||
* [OPENJPA-382] - Overriding column names for Byte[] attributes causes exception.
|
||||
* [OPENJPA-385] - IndexOutOfBounds exception when parsing ".class" files
|
||||
* [OPENJPA-387] - Getting "java.lang.ClassNotFoundException" when loading datacache plug-in which is a class outside of OpenJPA package.
|
||||
* [OPENJPA-388] - MappingToolTask can't find persistence meta data.
|
||||
* [OPENJPA-389] - em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates
|
||||
* [OPENJPA-392] - Some columnDefinition annotation properties incorrectly used as column name instead of type
|
||||
* [OPENJPA-395] - Accessing short Foreign Key metadata fields as ints causes problems on iSeries
|
||||
* [OPENJPA-396] - Cloning Calendar proxies doesn't detach from StateManager
|
||||
* [OPENJPA-397] - schematool ant task always requires files
|
||||
* [OPENJPA-399] - openjpa did not handle multiple schema names with same table name
|
||||
* [OPENJPA-401] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver
|
||||
* [OPENJPA-402] - Unable to detect an valid Entity's meta data when the entity's .class file size is large.
|
||||
* [OPENJPA-403] - LoadFetchGroup patch (OPENJPA-370) introduces NPE
|
||||
* [OPENJPA-405] - need extract space in the message text
|
||||
* [OPENJPA-409] - Quick message updates
|
||||
* [OPENJPA-410] - Change "connecting to dictionary" message from Info to Trace
|
||||
* [OPENJPA-413] - Fix some message text in the localizer.properties files
|
||||
* [OPENJPA-415] - Garbage collection of AbstractResultList instance closes active connection
|
||||
* [OPENJPA-416] - Unclear exception if an unknown external value is used
|
||||
* [OPENJPA-419] - Merging graphs that include managed instances fails
|
||||
* [OPENJPA-420] - JPQL constructor query close the <SELECT DISTINCT> feature?
|
||||
* [OPENJPA-421] - OpenJPA generates bad SQL before configuration fully populated
|
||||
* [OPENJPA-422] - Calendar objects contained in a detached Entity still have a "live" StateManagerImpl
|
||||
* [OPENJPA-423] - Deadlock victim exception getting sequence value with SQLServer
|
||||
* [OPENJPA-426] - Incorrect DEFERRABLE usage with PostgreSQL
|
||||
* [OPENJPA-427] - PostgresDictionary should set "63" as "maxAutoAssignNameLength".
|
||||
* [OPENJPA-437] - EntityManagerFactory is not thread-safe
|
||||
* [OPENJPA-439] - Performance degradation in multi-transaction operations
|
||||
* [OPENJPA-440] - Calendar instance doesn't appear to detach properly (or proxying of it is in error?)
|
||||
* [OPENJPA-446] - Problem when setting String fields of detached objects
|
||||
* [OPENJPA-447] - Query pagination broken for non-DB2 databases
|
||||
* [OPENJPA-452] - Error in the XML equivalent in the "secondary table field mapping" example
|
||||
* [OPENJPA-455] - Incorrect MySQL DDL Generation for integer types
|
||||
* [OPENJPA-456] - Missed to validate the column name length for Join Column
|
||||
* [OPENJPA-460] - Can't convert to: Time, InformixDictionary needs timeTypeName set to "DATETIME HOUR TO SECOND"
|
||||
* [OPENJPA-464] - Performance improvement with Statement Batching support
|
||||
* [OPENJPA-471] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
* [OPENJPA-472] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.SEQUENCE ...)
|
||||
* [OPENJPA-476] - Query.setFirstResult and Query.setMaxResults don't take effect
|
||||
* [OPENJPA-484] - H2Dictionary has 'useGetObjectForBlobs' set to true, which should be false
|
||||
* [OPENJPA-489] - DB2Dictionary casts string data to VARCHAR(1000) regardless of data length
|
||||
* [OPENJPA-498] - OpenJPA 1.1.0-SNAPSHOT attempts to mutate unmodifiable map in Glassfish
|
||||
* [OPENJPA-505] - CLONE -Incorrect Oracle DDL Generation for integer types since OPENJPA-455
|
||||
* [OPENJPA-506] - PreRemove method callback is never called; PreUpdate is always called
|
||||
* [OPENJPA-508] - JPQL EXISTS clauses do not handle subclasses properly
|
||||
* [OPENJPA-511] - Unable to execute native queries which start with the WITH keyword.
|
||||
* [OPENJPA-512] - Maven build fails if -Dmaven.test.skip=true
|
||||
* [OPENJPA-516] - Exceptions when persisting Entities with fields map to NVARCHAR columns
|
||||
* [OPENJPA-518] - openJpa jar is being locked causing future deployments on an app server to fail
|
||||
* [OPENJPA-529] - ManagedClassSubclasses stores table names twice.
|
||||
* [OPENJPA-530] - Statement batching incorrectly re-arranged order of SQL statements organized by update managers
|
||||
* [OPENJPA-532] - SchemaTool performs no function if no pu is found.
|
||||
* [OPENJPA-535] - Javadoc spelling errors in SchemaFactory and Localizer
|
||||
* [OPENJPA-536] - getMetaData() causes OutOfMemoryError under some cases
|
||||
* [OPENJPA-537] - openjpa-parent pom should not overwrite central repository setting
|
||||
* [OPENJPA-538] - In the case when user id and password are provided, openjpa should use them in the call to getConnection to avoid "Null userid is not supported" thrown from the backend.
|
||||
* [OPENJPA-539] - Can't create a table with a field of java type "Map" in Derby.
|
||||
* [OPENJPA-540] - Classloading issue with WAS, Spring, and OpenJPA
|
||||
* [OPENJPA-542] - OracleDictionary.getEmptyClob uses its classloader instead of the current classloader.
|
||||
* [OPENJPA-543] - Unclosed prepared statements in SQLStoreQuery.executeUpdate.
|
||||
* [OPENJPA-547] - INNER JOIN Fetch query incorrectly generates LEFT join SQL
|
||||
* [OPENJPA-552] - Do not recognize Connection* properties in persistence.xml in appl server container
|
||||
* [OPENJPA-559] - java.rmi.MarshalException due to mismatched serialization UIDs of: Source (RepId RMI:org.apache.openjpa.kernel.DetachedStateManager
|
||||
* [OPENJPA-562] - NPE when trying to invoke FieldMetada.getOrders() when a PersistenCollection field is being loaded.
|
||||
* [OPENJPA-565] - Duplicate @NamedQuery terminates subsequent @NameQuery definitions in @NamedQueries
|
||||
* [OPENJPA-567] - @OrderColumn generates duplicate order numbers.
|
||||
* [OPENJPA-568] - Delete, re-insert and setting relationship in the same transaction results in
|
||||
* [OPENJPA-573] - JPQL: The combination LIKE ESCAPE does not accept parameters
|
||||
* [OPENJPA-576] - Recursively embedded entities generate an extra and reduntant SQL call to the database.
|
||||
* [OPENJPA-577] - OpenJPA doesn't create LoggingConnectionDecorator instance if log trace is not enabled
|
||||
* [OPENJPA-579] - JDO Projection query with for a complex object with a clob field fails
|
||||
* [OPENJPA-585] - Got EntityExistsException when invoking EntityManager.merge() to persist a new entity bean with generated id and enhanced at deployment time
|
||||
* [OPENJPA-587] - Sybase queries that select columns from derived tables fail OOTB
|
||||
* [OPENJPA-588] - Test for checking the absolute index of field metadata fails
|
||||
* [OPENJPA-589] - Can not retrieve M-to-M data when DataCache is on
|
||||
* [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 field named "id" in class "t"
|
||||
|
||||
Improvements
|
||||
* [OPENJPA-338] - Remove unnecessary CAST in SQL statement for DB2
|
||||
* [OPENJPA-374] - OpenJPA build process enhances Entity classes even when testing is deactivated via -Dtest=false
|
||||
* [OPENJPA-407] - Cache SQL (or closer precursors to SQL) more aggressively
|
||||
* [OPENJPA-448] - Documentation fixes (1. openjpa.NontransactionalWrite, 2. setRollbackOnly)
|
||||
* [OPENJPA-454] - Better support for running unit tests on DB2
|
||||
* [OPENJPA-488] - Simplify JPQL SUBSTRING clauses involving literal index and position data
|
||||
* [OPENJPA-500] - OpenJPAEntityManager.isManaged() is a confusing method name
|
||||
* [OPENJPA-522] - pushFetchGroup(s) and popFetchGroup(s) on OpenJPAEntityManager
|
||||
* [OPENJPA-541] - Generate SQL92 JOIN syntax for Oracle 9 or later releases
|
||||
* [OPENJPA-564] - Set correct DBDictionary properties for MySQL based on MySQL version
|
||||
* [OPENJPA-570] - Misleading "Found duplicate query" warning message
|
||||
|
||||
OpenJPA 1.0.2 Release Notes
|
||||
|
||||
Bugs
|
||||
|
||||
* [OPENJPA-135] - join fetch not returning duplicate references which not conforming to ejb3.0 spec
|
||||
* [OPENJPA-211] - CLONE -java.lang.VerifyError on websphere 6.1 with Spring 2.0.3 and OpenJpa 0.96/0.97
|
||||
* [OPENJPA-251] - org.apache.openjpa.enhance.Reflection.getDeclaredMethod() has undefined behavior, leading to VM-dependent crashes
|
||||
* [OPENJPA-258] - MetaDataInheritanceComparator is not transitive; C > B > A > C leads to out-of-memory crash in PCEnhancer
|
||||
* [OPENJPA-322] - Timezone on the Calendar object lost in proxying
|
||||
* [OPENJPA-329] - Generic interface may cause the openjpa Reflection code to pickup the wrong getter method
|
||||
* [OPENJPA-331] - Allow BigInteger and other Basic types as Primary Keys
|
||||
* [OPENJPA-366] - InternalException thrown in BrokerImpl.endOperation
|
||||
* [OPENJPA-367] - PCEnhancer does not find meta data for entities using pure XML annotation
|
||||
* [OPENJPA-370] - LoadFetchGroup annotation was not recognized during the fetch1
|
||||
* [OPENJPA-401] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver
|
||||
* [OPENJPA-419] - Merging graphs that include managed instances fails
|
||||
* [OPENJPA-420] - JPQL constructor query close the <SELECT DISTINCT> feature?
|
||||
* [OPENJPA-437] - EntityManagerFactory is not thread-safe
|
||||
* [OPENJPA-446] - Problem when setting String fields of detached objects
|
||||
* [OPENJPA-447] - Query pagination broken for non-DB2 databases
|
||||
* [OPENJPA-452] - Error in the XML equivalent in the "secondary table field mapping" example
|
||||
* [OPENJPA-471] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
* [OPENJPA-472] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.SEQUENCE ...)
|
||||
* [OPENJPA-476] - Query.setFirstResult and Query.setMaxResults don't take effect
|
||||
* [OPENJPA-506] - PreRemove method callback is never called; PreUpdate is always called
|
||||
* [OPENJPA-508] - JPQL EXISTS clauses do not handle subclasses properly
|
||||
* [OPENJPA-511] - Unable to execute native queries which start with the WITH keyword.
|
||||
|
||||
OpenJPA 1.0.1 Release Notes
|
||||
|
||||
Bugs Fixed
|
||||
|
||||
* [OPENJPA-113] - when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key field (eg.EmpBean_empid) in the table produced.
|
||||
* [OPENJPA-282] - Postgresql does not support deferred unique constraints.
|
||||
* [OPENJPA-295] - ArrayIndexOutofBoundsException when under load and within a managed Transaction
|
||||
* [OPENJPA-326] - NPE if a discriminator column is specified without discriminator type in orm.xml
|
||||
* [OPENJPA-335] - Logic in getters for entities with property access causes the PCEnhancer to hang
|
||||
* [OPENJPA-339] - Java 2 security Access denied in File.toURL() call
|
||||
* [OPENJPA-343] - Do not call setRollbackOnly on inactive Transactions
|
||||
* [OPENJPA-346] - PCEnhancerAgent backwards-compatibility setting overly-enables enhancement
|
||||
* [OPENJPA-347] - Performance Issue with Lazy Loaded Foreign Keys
|
||||
* [OPENJPA-353] - Character discriminators are not converted correctly if storeCharsAsNumbers = true
|
||||
* [OPENJPA-355] - OpenJPA Log4J factory incorrectly handles logging level
|
||||
* [OPENJPA-356] - DB2 requires CASTs when parameters appear in SELECT clause
|
||||
* [OPENJPA-357] - Use case where FetchGroup A includes FecthGroup B is not honoured by fetch operations
|
||||
* [OPENJPA-358] - Recursion Depth for Field f should be calculated w.r.t active fetch groups and not all fetch groups
|
||||
* [OPENJPA-360] - SQL FOR UPDATE OF incorrectly generated for DB2/NT SQL0816
|
||||
* [OPENJPA-361] - Incorrect GREG_OFFSET offset or inconsistent usage in UUIDGenerator
|
||||
* [OPENJPA-367] - PCEnhancer does not find meta data for entities using pure XML annotation
|
||||
* [OPENJPA-368] - Multithreaded client fails randomly on EntityManager.persist() with out transaction context.
|
||||
* [OPENJPA-369] - AccessDeclaredMembers RuntimePermission requires by Solaris JDK with security enabled
|
||||
* [OPENJPA-372] - PCEnhancer throws away its classloader
|
||||
* [OPENJPA-375] - DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
|
||||
* [OPENJPA-378] - DB2 SQL incorrectly generating "FETCH FIRST n ROWS ONLY" in subselects
|
||||
* [OPENJPA-380] - Connecting to database when an unused emf is closed
|
||||
* [OPENJPA-382] - Overriding column names for Byte[] attributes causes exception.
|
||||
* [OPENJPA-385] - IndexOutOfBounds exception when parsing ".class" files
|
||||
* [OPENJPA-387] - Getting "java.lang.ClassNotFoundException" when loading datacache plug-in which is a class outside of OpenJPA package.
|
||||
* [OPENJPA-388] - MappingToolTask can't find persistence meta data.
|
||||
* [OPENJPA-389] - em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates
|
||||
* [OPENJPA-394] - DB2 CAST VARCHAR type missing LENGTH
|
||||
* [OPENJPA-395] - Accessing short Foreign Key metadata fields as ints causes problems on iSeries
|
||||
* [OPENJPA-396] - Cloning Calendar proxies doesn't detach from StateManager
|
||||
* [OPENJPA-397] - schematool ant task always requires files
|
||||
* [OPENJPA-399] - openjpa did not handle multiple schema names with same table name
|
||||
* [OPENJPA-401] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver
|
||||
* [OPENJPA-402] - Unable to detect an valid Entity's meta data when the entity's .class file size is large.
|
||||
* [OPENJPA-403] - LoadFetchGroup patch (OPENJPA-370) introduces NPE
|
||||
* [OPENJPA-405] - need extract space in the message text
|
||||
* [OPENJPA-409] - Quick message updates
|
||||
* [OPENJPA-410] - Change "connecting to dictionary" message from Info to Trace
|
||||
* [OPENJPA-413] - Fix some message text in the localizer.properties files
|
||||
* [OPENJPA-415] - Garbage collection of AbstractResultList instance closes active connection
|
||||
* [OPENJPA-416] - Unclear exception if an unknown external value is used
|
||||
* [OPENJPA-421] - OpenJPA generates bad SQL before configuration fully populated
|
||||
* [OPENJPA-422] - Calendar objects contained in a detached Entity still have a "live" StateManagerImpl
|
||||
* [OPENJPA-423] - Deadlock victim exception getting sequence value with SQLServer
|
||||
|
||||
Improvements
|
||||
|
||||
* [OPENJPA-338] - Remove unnecessary CAST in SQL statement for DB2
|
||||
|
||||
Sub-tasks
|
||||
|
||||
* [OPENJPA-408] - Improve error processing for openjpa.RuntimeUnenhancedClasses property settings
|
||||
|
||||
OpenJPA 1.0.0 Release Notes
|
||||
|
||||
Bugs fixed
|
||||
|
||||
* [OPENJPA-61] - Missing usage of TransactionSynchronizationRegistry
|
||||
* [OPENJPA-86] - "uuid-hex" generator does not make affect in orm.xml
|
||||
* [OPENJPA-143] - Problems with Single Table Inheritance Strategy (and
|
||||
Discriminator Type of Integer)
|
||||
* [OPENJPA-165] - QueryImpl.setFirstResult does not take already set
|
||||
maxResults into account
|
||||
* [OPENJPA-177] - When using NOT NULL constraint on foreign key it is
|
||||
not possible to use CascadeType.ALL and GeneratedId
|
||||
* [OPENJPA-199] - bulk update gets parsing exception trying to update
|
||||
an attribute of an embedded class
|
||||
* [OPENJPA-244] - Java 2 Security enablement
|
||||
* [OPENJPA-248] - ForeignKey cascade delete action not working
|
||||
* [OPENJPA-257] - Getter/Setter type inconsistency in Entity IdClass
|
||||
* [OPENJPA-269] - Informix doesn't support subselects or using table
|
||||
aliases in a delete statement.
|
||||
* [OPENJPA-271] - DB2 missing JDBC driver 2 support
|
||||
* [OPENJPA-272] - @GenerateValue (AUTO) doesn't work with Property
|
||||
level access
|
||||
* [OPENJPA-274] - JPQL queries cannot access version fields, including
|
||||
bulk updates
|
||||
* [OPENJPA-278] - OpenJPAQuery.getDataStoreActions() returns an empty
|
||||
String array
|
||||
* [OPENJPA-280] - Enhancement failure for inherited fields introduced
|
||||
with change 532137
|
||||
* [OPENJPA-281] - EAGER not the default fetch type without the @Basic
|
||||
annotation
|
||||
* [OPENJPA-284] - TableJDBCSeq for GeneratedValue.TABLE did not handle
|
||||
initialValue correctly
|
||||
* [OPENJPA-285] - Multiple deploy/undeploy leaks memory in PCRegistry
|
||||
* [OPENJPA-287] - Generated methods on superclasses are not visible to
|
||||
subclasses
|
||||
* [OPENJPA-294] - Exception while enchnancing the java classes using
|
||||
OpenJPA PCEnhancerTask with build.xml
|
||||
* [OPENJPA-296] - UUID algorithm generating non-unique values
|
||||
sometimes
|
||||
* [OPENJPA-304] - Problems with DepthFirstAnalysis and the IBM JDK
|
||||
* [OPENJPA-308] - Postgres: bytea vs. oid handling in
|
||||
PreparedStatement.setNull() calls
|
||||
* [OPENJPA-311] - Problem loading classes with OSGi classloaders
|
||||
* [OPENJPA-312] - derby fails with duplicate primary key(s) in group
|
||||
by list
|
||||
* [OPENJPA-313] - list of objects returned by query partially correct
|
||||
* [OPENJPA-314] - Unenhanced complex id in MappedSuperclass causes NPE
|
||||
* [OPENJPA-315] - Unenhanced generated id field of a primitive wrapper
|
||||
type causes NPE
|
||||
* [OPENJPA-320] - Do not use System Tables (SYS*) with DB2
|
||||
* [OPENJPA-321] - DB2 ABS Casting problem
|
||||
* [OPENJPA-322] - Timezone on the Calendar object lost in proxying
|
||||
* [OPENJPA-323] - Cleanup some message text
|
||||
* [OPENJPA-256] - java.lang.ClassNotFoundException:
|
||||
org.apache.openjpa.util.CacheMap in a jetty spring environment
|
||||
|
||||
Sub-tasks
|
||||
|
||||
* [OPENJPA-279] - Fixed missing lookup for non-jta-data-source in
|
||||
JDBCConfigurationImpl.
|
||||
* [OPENJPA-297] - Lazy loading must be ignored in certain unenhanced
|
||||
cases
|
||||
* [OPENJPA-298] - Miscellaneous documentation improvements
|
||||
* [OPENJPA-299] - Provide a means to enable the old enhancing agent
|
||||
|
||||
Improvements
|
||||
|
||||
* [OPENJPA-259] - Ability to parse EJB QL multiline queries in orm.xml
|
||||
* [OPENJPA-266] - Add Extensibility: Change "private" field/method to
|
||||
"protected" or "public" in OpenJPA classes to be extendable
|
||||
* [OPENJPA-275] - Bulk updates: version information should be
|
||||
automatically maintained when the query does not
|
||||
|
||||
New Features
|
||||
|
||||
* [OPENJPA-168] - sql optimize n rows query hint
|
||||
* [OPENJPA-239] - Option for the reverse mapping tool to generate
|
||||
mapping annotations
|
||||
* [OPENJPA-262] - Event notification of BrokerFactory creation
|
||||
* [OPENJPA-263] - Introducing getAll(List) method for data cache to be
|
||||
called by loadAll() will allow data cache plug-ins to leverage the
|
||||
advantage of any third-party cache that provides a way to get
|
||||
multiple object in one call by providing a list of keys (oids).
|
||||
* [OPENJPA-317] - API formalization pre-1.0
|
||||
|
||||
OpenJPA 0.9.7 Release Notes
|
||||
|
||||
Bugs
|
||||
|
||||
The following bugs have been fixed for release 0.9.7
|
||||
* [OPENJPA-16] - NPE in createQuery for EJB QL with nested correlated
|
||||
* [OPENJPA-16] - NPE in createQuery for EJB QL with nested correlated
|
||||
subqueries
|
||||
* [OPENJPA-21] - Time is missing from list of mutable classes.
|
||||
* [OPENJPA-22] - locate & substring queries fail both db2 & derby,
|
||||
* [OPENJPA-21] - Time is missing from list of mutable classes.
|
||||
* [OPENJPA-22] - locate & substring queries fail both db2 & derby,
|
||||
cannot use parameter markers in expression ?-?
|
||||
* [OPENJPA-23] - -418 sqlexception using DB2 and EJB QL with SQRT or MOD
|
||||
* [OPENJPA-24] - Allow OpenJPA to be extensible
|
||||
* [OPENJPA-25] - Incorrect SQL generated for queries involving more than
|
||||
* [OPENJPA-23] - -418 sqlexception using DB2 and EJB QL with SQRT or MOD
|
||||
* [OPENJPA-24] - Allow OpenJPA to be extensible
|
||||
* [OPENJPA-25] - Incorrect SQL generated for queries involving more than
|
||||
one AbstractSchemaNames, generated SQL FROM clause is missing 'Table
|
||||
alias'
|
||||
* [OPENJPA-35] - In-memory Delete operation fails with active DataCache
|
||||
* [OPENJPA-41] - transforming classes doesn't work
|
||||
* [OPENJPA-48] - parsing error - cast of subselect does not work
|
||||
* [OPENJPA-50] - bad sql pushdown, cast changes datatype
|
||||
* [OPENJPA-53] - bad sql pushdown for nested subselects, missing nested
|
||||
* [OPENJPA-35] - In-memory Delete operation fails with active DataCache
|
||||
* [OPENJPA-41] - transforming classes doesn't work
|
||||
* [OPENJPA-48] - parsing error - cast of subselect does not work
|
||||
* [OPENJPA-50] - bad sql pushdown, cast changes datatype
|
||||
* [OPENJPA-53] - bad sql pushdown for nested subselects, missing nested
|
||||
subselect
|
||||
* [OPENJPA-54] - bad sql pushdown, should use all syntax
|
||||
* [OPENJPA-56] - in derby concat with input parameter needs a cast,
|
||||
* [OPENJPA-54] - bad sql pushdown, should use all syntax
|
||||
* [OPENJPA-56] - in derby concat with input parameter needs a cast,
|
||||
otherwise becomes long varchar and some operations do not work
|
||||
* [OPENJPA-60] - Specifying the wrong persistence implementation in
|
||||
* [OPENJPA-60] - Specifying the wrong persistence implementation in
|
||||
persistence.xml leads to misleading error message
|
||||
* [OPENJPA-62] - Ejbql join queries show invalid null Entities when run
|
||||
* [OPENJPA-62] - Ejbql join queries show invalid null Entities when run
|
||||
in a new persistence context where no entity instances exist.
|
||||
* [OPENJPA-71] - Caching primitive array types consumes excessive memory
|
||||
* [OPENJPA-77] - Problems in default setting in DB2Dictionary , also
|
||||
* [OPENJPA-71] - Caching primitive array types consumes excessive memory
|
||||
* [OPENJPA-77] - Problems in default setting in DB2Dictionary , also
|
||||
missing support for DB2 z/OS platforms
|
||||
* [OPENJPA-80] - Bad Escaping for LIKE in MySQL
|
||||
* [OPENJPA-98] - Java deadlock when insert in t1 and find in t2 when
|
||||
* [OPENJPA-80] - Bad Escaping for LIKE in MySQL
|
||||
* [OPENJPA-98] - Java deadlock when insert in t1 and find in t2 when
|
||||
using IBM JVM 1.5.0
|
||||
* [OPENJPA-100] - entries failing to be processed for persistence unit
|
||||
* [OPENJPA-100] - entries failing to be processed for persistence unit
|
||||
rooted in an EAR
|
||||
* [OPENJPA-102] - JTA transaction rollback, nonexistant instances,
|
||||
* [OPENJPA-102] - JTA transaction rollback, nonexistant instances,
|
||||
transactional persistence context => failures during afterCompletion()
|
||||
and close()
|
||||
* [OPENJPA-103] - Default Listeners not being processed correctly
|
||||
* [OPENJPA-104] - OpenJPA does not detach instances on rollback()
|
||||
* [OPENJPA-107] - @SqlResultSetMappings fails in mapping tool with
|
||||
* [OPENJPA-103] - Default Listeners not being processed correctly
|
||||
* [OPENJPA-104] - OpenJPA does not detach instances on rollback()
|
||||
* [OPENJPA-107] - @SqlResultSetMappings fails in mapping tool with
|
||||
java.lang.ArrayStoreException
|
||||
* [OPENJPA-108] - @AttributeOverrides fails in mapping tool with
|
||||
* [OPENJPA-108] - @AttributeOverrides fails in mapping tool with
|
||||
java.lang.ArrayStoreException
|
||||
* [OPENJPA-109] - every NativeQuery using SqlResultSetMapping fails at
|
||||
* [OPENJPA-109] - every NativeQuery using SqlResultSetMapping fails at
|
||||
runtime with There is no query result mapping for "null" with name
|
||||
"xxx" when the entity is persisted in a different method than the
|
||||
method doing the query.
|
||||
* [OPENJPA-110] - Every NamedNativeQuery using ResultSetMapping fails at
|
||||
* [OPENJPA-110] - Every NamedNativeQuery using ResultSetMapping fails at
|
||||
runtime with class cast exception when try to iterate over list
|
||||
* [OPENJPA-111] - native queries fail when use named parameters
|
||||
* [OPENJPA-115] - Bottleneck(s) with using OpenJPA in a
|
||||
* [OPENJPA-111] - native queries fail when use named parameters
|
||||
* [OPENJPA-115] - Bottleneck(s) with using OpenJPA in a
|
||||
Container-managed environment
|
||||
* [OPENJPA-116] - EntityManager.getDelegate should throw an
|
||||
* [OPENJPA-116] - EntityManager.getDelegate should throw an
|
||||
IllegalStateException
|
||||
* [OPENJPA-118] - AutoDetach property has no effect
|
||||
* [OPENJPA-119] - EntityManager.clear() should not implicitly invoke the
|
||||
* [OPENJPA-118] - AutoDetach property has no effect
|
||||
* [OPENJPA-119] - EntityManager.clear() should not implicitly invoke the
|
||||
flush operation
|
||||
* [OPENJPA-121] - Table name defaults to the class name instead of the
|
||||
* [OPENJPA-121] - Table name defaults to the class name instead of the
|
||||
entity name
|
||||
* [OPENJPA-122] - EntityManager does not throw exceptions after close()
|
||||
* [OPENJPA-122] - EntityManager does not throw exceptions after close()
|
||||
in required cases
|
||||
* [OPENJPA-132] - java.lang.NoSuchMethodError for entity with ID of type
|
||||
* [OPENJPA-132] - java.lang.NoSuchMethodError for entity with ID of type
|
||||
java.sql.Date
|
||||
* [OPENJPA-133] - Can't find non-public callback methods with superclass
|
||||
* [OPENJPA-133] - Can't find non-public callback methods with superclass
|
||||
or interface parameters
|
||||
* [OPENJPA-134] - Extra unneeded SQL joins for OneToMany relationship
|
||||
* [OPENJPA-134] - Extra unneeded SQL joins for OneToMany relationship
|
||||
with fetch type EAGER
|
||||
* [OPENJPA-139] - PersistenceException merging an entity with a Calendar
|
||||
* [OPENJPA-139] - PersistenceException merging an entity with a Calendar
|
||||
field.
|
||||
* [OPENJPA-140] - Wrong package name in test classes
|
||||
* [OPENJPA-142] - Entity name is ignored when specified in the orm.xml
|
||||
* [OPENJPA-140] - Wrong package name in test classes
|
||||
* [OPENJPA-142] - Entity name is ignored when specified in the orm.xml
|
||||
file
|
||||
* [OPENJPA-144] - JDBCConfigurationImpl does not support JNDI lookup for
|
||||
* [OPENJPA-144] - JDBCConfigurationImpl does not support JNDI lookup for
|
||||
non-jta-data-source.
|
||||
* [OPENJPA-146] - Entity enhancement fails while using EmbeddedId on a
|
||||
* [OPENJPA-146] - Entity enhancement fails while using EmbeddedId on a
|
||||
MappedSuperclass
|
||||
* [OPENJPA-150] - @Column in @AttributeOverride not honoring table
|
||||
* [OPENJPA-150] - @Column in @AttributeOverride not honoring table
|
||||
attribute that maps to a secondary table in mappedsuperclass entity
|
||||
* [OPENJPA-154] - OptimisticLockException working with Savepoints
|
||||
* [OPENJPA-155] - java.lang.ArrayIndexOutOfBoundsException during commit
|
||||
* [OPENJPA-157] - NullPointerException when running query with null
|
||||
* [OPENJPA-154] - OptimisticLockException working with Savepoints
|
||||
* [OPENJPA-155] - java.lang.ArrayIndexOutOfBoundsException during commit
|
||||
* [OPENJPA-157] - NullPointerException when running query with null
|
||||
parameter
|
||||
* [OPENJPA-162] - @OrderBy on @OneToMany does not allow ordering by @Id
|
||||
* [OPENJPA-162] - @OrderBy on @OneToMany does not allow ordering by @Id
|
||||
value
|
||||
* [OPENJPA-174] - error when find()'ing an abstract class
|
||||
* [OPENJPA-175] - Eager selects by PagingResultObjectProvider may not
|
||||
* [OPENJPA-174] - error when find()'ing an abstract class
|
||||
* [OPENJPA-175] - Eager selects by PagingResultObjectProvider may not
|
||||
use the FetchBatchSize
|
||||
* [OPENJPA-179] - Schemas defined in orm.xml are only applied when a
|
||||
* [OPENJPA-179] - Schemas defined in orm.xml are only applied when a
|
||||
name is also specified.
|
||||
* [OPENJPA-181] - ClassCastException when executing bulk delete on an
|
||||
* [OPENJPA-181] - ClassCastException when executing bulk delete on an
|
||||
entity that owns a OneToOne with a Cascade.DELETE when DataCache is on
|
||||
* [OPENJPA-185] - optional attribute is not overriden by xml descriptor
|
||||
* [OPENJPA-186] - Build failure of OpenJPA sources from trunk
|
||||
* [OPENJPA-185] - optional attribute is not overriden by xml descriptor
|
||||
* [OPENJPA-186] - Build failure of OpenJPA sources from trunk
|
||||
* [OPENJPA-202] - after invoking LRS processing in a client by calling an
|
||||
@LRS annotated relationship, the next em.clear()/em.close() gets
|
||||
org.apache.openjpa.persistence.InvalidStateException: You cannot
|
||||
|
@ -189,127 +510,43 @@ Bugs
|
|||
Improvements
|
||||
|
||||
Improvements made for release 0.9.7
|
||||
* [OPENJPA-10] - persistence unit name should be default diagnostic
|
||||
* [OPENJPA-10] - persistence unit name should be default diagnostic
|
||||
context for standard OpenJPA log impl
|
||||
* [OPENJPA-37] - Support ant typedefs for OpenJPA tasks
|
||||
* [OPENJPA-55] - Allow executeUpdate() invocations on native queries
|
||||
* [OPENJPA-57] - persistence_1_0.xsd is missing
|
||||
* [OPENJPA-63] - Better pessimistic lock support for DB2 v8.2+
|
||||
* [OPENJPA-151] - Added field in enhanced vesrion of a class is not
|
||||
* [OPENJPA-37] - Support ant typedefs for OpenJPA tasks
|
||||
* [OPENJPA-55] - Allow executeUpdate() invocations on native queries
|
||||
* [OPENJPA-57] - persistence_1_0.xsd is missing
|
||||
* [OPENJPA-63] - Better pessimistic lock support for DB2 v8.2+
|
||||
* [OPENJPA-151] - Added field in enhanced vesrion of a class is not
|
||||
serialized. Hence the change in detached+serialized instances is not
|
||||
registered under certain conditions.
|
||||
* [OPENJPA-153] - WebSphere and non-jta-data-source and default
|
||||
* [OPENJPA-153] - WebSphere and non-jta-data-source and default
|
||||
ManagedRuntime
|
||||
* [OPENJPA-158] - OpenJPA logs overly-verbose at INFO level
|
||||
* [OPENJPA-161] - Overuse of synchronization in AbstractBrokerFactory
|
||||
* [OPENJPA-166] - Track the reason why a setRollbackOnly invocation
|
||||
* [OPENJPA-158] - OpenJPA logs overly-verbose at INFO level
|
||||
* [OPENJPA-161] - Overuse of synchronization in AbstractBrokerFactory
|
||||
* [OPENJPA-166] - Track the reason why a setRollbackOnly invocation
|
||||
was made
|
||||
* [OPENJPA-176] - Exception prefixes should be human-readable
|
||||
* [OPENJPA-196] - Ease the restrictions on forcing a matche between
|
||||
* [OPENJPA-176] - Exception prefixes should be human-readable
|
||||
* [OPENJPA-196] - Ease the restrictions on forcing a matche between
|
||||
the number of declared and assigned positional parameters
|
||||
|
||||
New Features
|
||||
|
||||
Features added for release 0.9.7
|
||||
* [OPENJPA-92] - Support for H2 Database Engine
|
||||
* [OPENJPA-93] - Sequence generation in a JTA environment should not
|
||||
* [OPENJPA-92] - Support for H2 Database Engine
|
||||
* [OPENJPA-93] - Sequence generation in a JTA environment should not
|
||||
require non-JTA datasource
|
||||
* [OPENJPA-94] - Allow MappingTool and persistence.xml to support
|
||||
* [OPENJPA-94] - Allow MappingTool and persistence.xml to support
|
||||
drop-create for database schema
|
||||
* [OPENJPA-182] - db2 update lock syntax WITH USE AND KEEP UPDATE
|
||||
* [OPENJPA-182] - db2 update lock syntax WITH USE AND KEEP UPDATE
|
||||
LOCKS
|
||||
|
||||
Task
|
||||
|
||||
Tasks done for release 0.9.7
|
||||
* [OPENJPA-36] - Add cwiki url to incubator status page
|
||||
* [OPENJPA-36] - Add cwiki url to incubator status page
|
||||
|
||||
Test
|
||||
|
||||
Additional testing done for release 0.9.7
|
||||
* [OPENJPA-40] - Testing OpenJPA and Spring integration fails
|
||||
* [OPENJPA-40] - Testing OpenJPA and Spring integration fails
|
||||
|
||||
OpenJPA 1.0.0 Release Notes
|
||||
|
||||
Bugs fixed
|
||||
|
||||
* [OPENJPA-61] - Missing usage of TransactionSynchronizationRegistry
|
||||
* [OPENJPA-86] - "uuid-hex" generator does not make affect in orm.xml
|
||||
* [OPENJPA-143] - Problems with Single Table Inheritance Strategy (and
|
||||
Discriminator Type of Integer)
|
||||
* [OPENJPA-165] - QueryImpl.setFirstResult does not take already set
|
||||
maxResults into account
|
||||
* [OPENJPA-177] - When using NOT NULL constraint on foreign key it is
|
||||
not possible to use CascadeType.ALL and GeneratedId
|
||||
* [OPENJPA-199] - bulk update gets parsing exception trying to update
|
||||
an attribute of an embedded class
|
||||
* [OPENJPA-244] - Java 2 Security enablement
|
||||
* [OPENJPA-248] - ForeignKey cascade delete action not working
|
||||
* [OPENJPA-257] - Getter/Setter type inconsistency in Entity IdClass
|
||||
* [OPENJPA-269] - Informix doesn't support subselects or using table
|
||||
aliases in a delete statement.
|
||||
* [OPENJPA-271] - DB2 missing JDBC driver 2 support
|
||||
* [OPENJPA-272] - @GenerateValue (AUTO) doesn't work with Property
|
||||
level access
|
||||
* [OPENJPA-274] - JPQL queries cannot access version fields, including
|
||||
bulk updates
|
||||
* [OPENJPA-278] - OpenJPAQuery.getDataStoreActions() returns an empty
|
||||
String array
|
||||
* [OPENJPA-280] - Enhancement failure for inherited fields introduced
|
||||
with change 532137
|
||||
* [OPENJPA-281] - EAGER not the default fetch type without the @Basic
|
||||
annotation
|
||||
* [OPENJPA-284] - TableJDBCSeq for GeneratedValue.TABLE did not handle
|
||||
initialValue correctly
|
||||
* [OPENJPA-285] - Multiple deploy/undeploy leaks memory in PCRegistry
|
||||
* [OPENJPA-287] - Generated methods on superclasses are not visible to
|
||||
subclasses
|
||||
* [OPENJPA-294] - Exception while enchnancing the java classes using
|
||||
OpenJPA PCEnhancerTask with build.xml
|
||||
* [OPENJPA-296] - UUID algorithm generating non-unique values
|
||||
sometimes
|
||||
* [OPENJPA-304] - Problems with DepthFirstAnalysis and the IBM JDK
|
||||
* [OPENJPA-308] - Postgres: bytea vs. oid handling in
|
||||
PreparedStatement.setNull() calls
|
||||
* [OPENJPA-311] - Problem loading classes with OSGi classloaders
|
||||
* [OPENJPA-312] - derby fails with duplicate primary key(s) in group
|
||||
by list
|
||||
* [OPENJPA-313] - list of objects returned by query partially correct
|
||||
* [OPENJPA-314] - Unenhanced complex id in MappedSuperclass causes NPE
|
||||
* [OPENJPA-315] - Unenhanced generated id field of a primitive wrapper
|
||||
type causes NPE
|
||||
* [OPENJPA-320] - Do not use System Tables (SYS*) with DB2
|
||||
* [OPENJPA-321] - DB2 ABS Casting problem
|
||||
* [OPENJPA-322] - Timezone on the Calendar object lost in proxying
|
||||
* [OPENJPA-323] - Cleanup some message text
|
||||
* [OPENJPA-256] - java.lang.ClassNotFoundException:
|
||||
org.apache.openjpa.util.CacheMap in a jetty spring environment
|
||||
|
||||
Sub-task
|
||||
|
||||
* [OPENJPA-279] - Fixed missing lookup for non-jta-data-source in
|
||||
JDBCConfigurationImpl.
|
||||
* [OPENJPA-297] - Lazy loading must be ignored in certain unenhanced
|
||||
cases
|
||||
* [OPENJPA-298] - Miscellaneous documentation improvements
|
||||
* [OPENJPA-299] - Provide a means to enable the old enhancing agent
|
||||
|
||||
Improvements
|
||||
|
||||
* [OPENJPA-259] - Ability to parse EJB QL multiline queries in orm.xml
|
||||
* [OPENJPA-266] - Add Extensibility: Change "private" field/method to
|
||||
"protected" or "public" in OpenJPA classes to be extendable
|
||||
* [OPENJPA-275] - Bulk updates: version information should be
|
||||
automatically maintained when the query does not
|
||||
|
||||
New Feature
|
||||
|
||||
* [OPENJPA-168] - sql optimize n rows query hint
|
||||
* [OPENJPA-239] - Option for the reverse mapping tool to generate
|
||||
mapping annotations
|
||||
* [OPENJPA-262] - Event notification of BrokerFactory creation
|
||||
* [OPENJPA-263] - Introducing getAll(List) method for data cache to be
|
||||
called by loadAll() will allow data cache plug-ins to leverage the
|
||||
advantage of any third-party cache that provides a way to get
|
||||
multiple object in one call by providing a list of keys (oids).
|
||||
* [OPENJPA-317] - API formalization pre-1.0
|
||||
|
|
|
@ -18,10 +18,8 @@
|
|||
|
||||
<h2><a name="Overview"></a>Overview</h2>
|
||||
|
||||
<p> These notes describe the difference between OpenJPA release 1.0.0
|
||||
and the preceding releases, 0.9.6 and 0.9.7. 1.0.0 is the first
|
||||
major release since OpenJPA graduated to an Apache top level project (TLP),
|
||||
and contains many new features and bugfixes.
|
||||
<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>
|
||||
OpenJPA is a feature-rich implementation of the persistence part of
|
||||
Java Community Process JSR-220 (Enterprise JavaBeans 3.0), which is
|
||||
|
@ -99,108 +97,474 @@ How do I Contribute?
|
|||
</ul>
|
||||
|
||||
|
||||
<h1><a name="0.9.7">OpenJPA 0.9.7 Release Notes</a></h1>
|
||||
<h1><a name="1.1.0">OpenJPA 1.1.0 Release Notes</a></h1>
|
||||
|
||||
<h2><a name="Bugs"</a>Bugs</h2>
|
||||
The following bugs have been fixed for release 0.9.7
|
||||
<h2> Sub-tasks
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-16'>OPENJPA-16</a>] - NPE in createQuery for EJB QL with nested correlated subqueries</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-21'>OPENJPA-21</a>] - Time is missing from list of mutable classes.</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-22'>OPENJPA-22</a>] - locate & substring queries fail both db2 & derby, cannot use parameter markers in expression ?-?</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-23'>OPENJPA-23</a>] - -418 sqlexception using DB2 and EJB QL with SQRT or MOD</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-24'>OPENJPA-24</a>] - Allow OpenJPA to be extensible</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-25'>OPENJPA-25</a>] - Incorrect SQL generated for queries involving more than one AbstractSchemaNames, generated SQL FROM clause is missing 'Table alias'</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-35'>OPENJPA-35</a>] - In-memory Delete operation fails with active DataCache</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-41'>OPENJPA-41</a>] - transforming classes doesn't work</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-48'>OPENJPA-48</a>] - parsing error - cast of subselect does not work</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-50'>OPENJPA-50</a>] - bad sql pushdown, cast changes datatype</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-53'>OPENJPA-53</a>] - bad sql pushdown for nested subselects, missing nested subselect</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-54'>OPENJPA-54</a>] - bad sql pushdown, should use all syntax</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-56'>OPENJPA-56</a>] - in derby concat with input parameter needs a cast, otherwise becomes long varchar and some operations do not work</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-60'>OPENJPA-60</a>] - Specifying the wrong persistence implementation in persistence.xml leads to misleading error message</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-62'>OPENJPA-62</a>] - Ejbql join queries show invalid null Entities when run in a new persistence context where no entity instances exist.</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-71'>OPENJPA-71</a>] - Caching primitive array types consumes excessive memory</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-77'>OPENJPA-77</a>] - Problems in default setting in DB2Dictionary , also missing support for DB2 z/OS platforms</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-80'>OPENJPA-80</a>] - Bad Escaping for LIKE in MySQL</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-98'>OPENJPA-98</a>] - Java deadlock when insert in t1 and find in t2 when using IBM JVM 1.5.0</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-100'>OPENJPA-100</a>] - <jar-file> entries failing to be processed for persistence unit rooted in an EAR</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-102'>OPENJPA-102</a>] - JTA transaction rollback, nonexistant instances, transactional persistence context => failures during afterCompletion() and close()</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-103'>OPENJPA-103</a>] - Default Listeners not being processed correctly</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-104'>OPENJPA-104</a>] - OpenJPA does not detach instances on rollback()</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-107'>OPENJPA-107</a>] - @SqlResultSetMappings fails in mapping tool with java.lang.ArrayStoreException</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-108'>OPENJPA-108</a>] - @AttributeOverrides fails in mapping tool with java.lang.ArrayStoreException</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-109'>OPENJPA-109</a>] - every NativeQuery using SqlResultSetMapping fails at runtime with There is no query result mapping for "null" with name "xxx" when the entity is persisted in a different method than the method doing the query. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-110'>OPENJPA-110</a>] - Every NamedNativeQuery using ResultSetMapping fails at runtime with class cast exception when try to iterate over list<Some Entity></li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-111'>OPENJPA-111</a>] - native queries fail when use named parameters</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-115'>OPENJPA-115</a>] - Bottleneck(s) with using OpenJPA in a Container-managed environment</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-116'>OPENJPA-116</a>] - EntityManager.getDelegate should throw an IllegalStateException </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-118'>OPENJPA-118</a>] - AutoDetach property has no effect</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-119'>OPENJPA-119</a>] - EntityManager.clear() should not implicitly invoke the flush operation</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-121'>OPENJPA-121</a>] - Table name defaults to the class name instead of the entity name</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-122'>OPENJPA-122</a>] - EntityManager does not throw exceptions after close() in required cases</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-132'>OPENJPA-132</a>] - java.lang.NoSuchMethodError for entity with ID of type java.sql.Date</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-133'>OPENJPA-133</a>] - Can't find non-public callback methods with superclass or interface parameters</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-134'>OPENJPA-134</a>] - Extra unneeded SQL joins for OneToMany relationship with fetch type EAGER</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-139'>OPENJPA-139</a>] - PersistenceException merging an entity with a Calendar field. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-140'>OPENJPA-140</a>] - Wrong package name in test classes</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-142'>OPENJPA-142</a>] - Entity name is ignored when specified in the orm.xml file</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-144'>OPENJPA-144</a>] - JDBCConfigurationImpl does not support JNDI lookup for non-jta-data-source. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-146'>OPENJPA-146</a>] - Entity enhancement fails while using EmbeddedId on a MappedSuperclass</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-150'>OPENJPA-150</a>] - @Column in @AttributeOverride not honoring table attribute that maps to a secondary table in mappedsuperclass entity</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-154'>OPENJPA-154</a>] - OptimisticLockException working with Savepoints</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-155'>OPENJPA-155</a>] - java.lang.ArrayIndexOutOfBoundsException during commit</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-157'>OPENJPA-157</a>] - NullPointerException when running query with null parameter</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-162'>OPENJPA-162</a>] - @OrderBy on @OneToMany does not allow ordering by @Id value</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-174'>OPENJPA-174</a>] - error when find()'ing an abstract class</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-175'>OPENJPA-175</a>] - Eager selects by PagingResultObjectProvider may not use the FetchBatchSize</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-179'>OPENJPA-179</a>] - Schemas defined in orm.xml are only applied when a name is also specified. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-181'>OPENJPA-181</a>] - ClassCastException when executing bulk delete on an entity that owns a OneToOne with a Cascade.DELETE when DataCache is on</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-185'>OPENJPA-185</a>] - optional attribute is not overriden by xml descriptor</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-186'>OPENJPA-186</a>] - Build failure of OpenJPA sources from trunk</li>
|
||||
</ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-202'>OPENJPA-202</a>] - after invoking LRS processing in a client by calling an @LRS annotated relationship, the next em.clear()/em.close() gets org.apache.openjpa.persistence.InvalidStateException: You cannot transfer large result set fields from one object or field to another</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-208'>OPENJPA-208</a>] - NoResultException and NonUniqueResultException are not thrown when expected</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-214'>OPENJPA-214</a>] - Need to support floating point primary keys</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-408'>OPENJPA-408</a>] - Improve error processing for openjpa.RuntimeUnenhancedClasses property settings
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-502'>OPENJPA-502</a>] - JPQL compliance setting
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-517'>OPENJPA-517</a>] - Oracle also supports WITH statements
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-591'>OPENJPA-591</a>] - Entities are flushed before being detached or serialized
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="Improvements"</a>Improvements</h2>
|
||||
Improvements made for release 0.9.7
|
||||
<h2> Bugs
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-10'>OPENJPA-10</a>] - persistence unit name should be default diagnostic context for standard OpenJPA log impl</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-37'>OPENJPA-37</a>] - Support ant typedefs for OpenJPA tasks</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-55'>OPENJPA-55</a>] - Allow executeUpdate() invocations on native queries</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-57'>OPENJPA-57</a>] - persistence_1_0.xsd is missing</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-63'>OPENJPA-63</a>] - Better pessimistic lock support for DB2 v8.2+</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-151'>OPENJPA-151</a>] - Added field in enhanced vesrion of a class is not serialized. Hence the change in detached+serialized instances is not registered under certain conditions. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-153'>OPENJPA-153</a>] - WebSphere and non-jta-data-source and default ManagedRuntime</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-158'>OPENJPA-158</a>] - OpenJPA logs overly-verbose at INFO level</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-161'>OPENJPA-161</a>] - Overuse of synchronization in AbstractBrokerFactory</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-166'>OPENJPA-166</a>] - Track the reason why a setRollbackOnly invocation was made</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-176'>OPENJPA-176</a>] - Exception prefixes should be human-readable</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-196'>OPENJPA-196</a>] - Ease the restrictions on forcing a matche between the number of declared and assigned positional parameters</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-9'>OPENJPA-9</a>] - PCEnhancer not processing multiple PU's defined within a single persistence.xml file
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-78'>OPENJPA-78</a>] - Automatic runtime enhancement only works when the class is listed in the first persistence-unit
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-113'>OPENJPA-113</a>] - when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key field (eg.EmpBean_empid) in the table produced.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-231'>OPENJPA-231</a>] - Incorrect handling of cascading bidirectional collections during merge/attach
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-245'>OPENJPA-245</a>] - Attach NEW and auto-increment identity
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-251'>OPENJPA-251</a>] - org.apache.openjpa.enhance.Reflection.getDeclaredMethod() has undefined behavior, leading to VM-dependent crashes
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-255'>OPENJPA-255</a>] - Inconsistent behavior during merge with cascade=none
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-258'>OPENJPA-258</a>] - MetaDataInheritanceComparator is not transitive; C > B > A > C leads to out-of-memory crash in PCEnhancer
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-282'>OPENJPA-282</a>] - Postgresql does not support deferred unique constraints.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-295'>OPENJPA-295</a>] - ArrayIndexOutofBoundsException when under load and within a managed Transaction
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-322'>OPENJPA-322</a>] - Timezone on the Calendar object lost in proxying
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-326'>OPENJPA-326</a>] - NPE if a discriminator column is specified without discriminator type in orm.xml
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-329'>OPENJPA-329</a>] - Generic interface may cause the openjpa Reflection code to pickup the wrong getter method
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-331'>OPENJPA-331</a>] - Allow BigInteger and other Basic types as Primary Keys
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-335'>OPENJPA-335</a>] - Logic in getters for entities with property access causes the PCEnhancer to hang
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-339'>OPENJPA-339</a>] - Java 2 security Access denied in File.toURL() call
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-343'>OPENJPA-343</a>] - Do not call setRollbackOnly on inactive Transactions
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-346'>OPENJPA-346</a>] - PCEnhancerAgent backwards-compatibility setting overly-enables enhancement
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-347'>OPENJPA-347</a>] - Performance Issue with Lazy Loaded Foreign Keys
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-353'>OPENJPA-353</a>] - Character discriminators are not converted correctly if storeCharsAsNumbers = true
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-355'>OPENJPA-355</a>] - OpenJPA Log4J factory incorrectly handles logging level
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-356'>OPENJPA-356</a>] - DB2 requires CASTs when parameters appear in SELECT clause
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-357'>OPENJPA-357</a>] - Use case where FetchGroup A includes FecthGroup B is not honoured by fetch operations
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-358'>OPENJPA-358</a>] - Recursion Depth for Field f should be calculated w.r.t active fetch groups and not all fetch groups
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-359'>OPENJPA-359</a>] - OptimisticLockException NOT thrown for entity using Timestamp Version when update from concurrent persistence contexts
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-360'>OPENJPA-360</a>] - SQL FOR UPDATE OF incorrectly generated for DB2/NT SQL0816
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-361'>OPENJPA-361</a>] - Incorrect GREG_OFFSET offset or inconsistent usage in UUIDGenerator
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-364'>OPENJPA-364</a>] - maven build order is incorrect
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-366'>OPENJPA-366</a>] - InternalException thrown in BrokerImpl.endOperation
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-367'>OPENJPA-367</a>] - PCEnhancer does not find meta data for entities using pure XML annotation
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-368'>OPENJPA-368</a>] - Multithreaded client fails randomly on EntityManager.persist() with out transaction context.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-369'>OPENJPA-369</a>] - AccessDeclaredMembers RuntimePermission requires by Solaris JDK with security enabled
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-370'>OPENJPA-370</a>] - LoadFetchGroup annotation was not recognized during the fetch1
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-372'>OPENJPA-372</a>] - PCEnhancer throws away its classloader
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-375'>OPENJPA-375</a>] - DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-378'>OPENJPA-378</a>] - DB2 SQL incorrectly generating "FETCH FIRST n ROWS ONLY" in subselects
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-379'>OPENJPA-379</a>] - StoreException when using a third party connection pool against Sybase
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-380'>OPENJPA-380</a>] - Connecting to database when an unused emf is closed
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-381'>OPENJPA-381</a>] - OpenJPA is not doing Optimistic locking when running in JEE evnironment
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-382'>OPENJPA-382</a>] - Overriding column names for Byte[] attributes causes exception.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-385'>OPENJPA-385</a>] - IndexOutOfBounds exception when parsing ".class" files
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-387'>OPENJPA-387</a>] - Getting "java.lang.ClassNotFoundException" when loading datacache plug-in which is a class outside of OpenJPA package.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-388'>OPENJPA-388</a>] - MappingToolTask can't find persistence meta data.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-389'>OPENJPA-389</a>] - em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-392'>OPENJPA-392</a>] - Some columnDefinition annotation properties incorrectly used as column name instead of type
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-395'>OPENJPA-395</a>] - Accessing short Foreign Key metadata fields as ints causes problems on iSeries
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-396'>OPENJPA-396</a>] - Cloning Calendar proxies doesn't detach from StateManager
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-397'>OPENJPA-397</a>] - schematool ant task always requires files
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-399'>OPENJPA-399</a>] - openjpa did not handle multiple schema names with same table name
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-401'>OPENJPA-401</a>] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-402'>OPENJPA-402</a>] - Unable to detect an valid Entity's meta data when the entity's .class file size is large.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-403'>OPENJPA-403</a>] - LoadFetchGroup patch (OPENJPA-370) introduces NPE
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-405'>OPENJPA-405</a>] - need extract space in the message text
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-409'>OPENJPA-409</a>] - Quick message updates
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-410'>OPENJPA-410</a>] - Change "connecting to dictionary" message from Info to Trace
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-413'>OPENJPA-413</a>] - Fix some message text in the localizer.properties files
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-415'>OPENJPA-415</a>] - Garbage collection of AbstractResultList instance closes active connection
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-416'>OPENJPA-416</a>] - Unclear exception if an unknown external value is used
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-419'>OPENJPA-419</a>] - Merging graphs that include managed instances fails
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-420'>OPENJPA-420</a>] - JPQL constructor query close the <SELECT DISTINCT> feature?
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-421'>OPENJPA-421</a>] - OpenJPA generates bad SQL before configuration fully populated
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-422'>OPENJPA-422</a>] - Calendar objects contained in a detached Entity still have a "live" StateManagerImpl
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-423'>OPENJPA-423</a>] - Deadlock victim exception getting sequence value with SQLServer
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-426'>OPENJPA-426</a>] - Incorrect DEFERRABLE usage with PostgreSQL
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-427'>OPENJPA-427</a>] - PostgresDictionary should set "63" as "maxAutoAssignNameLength".
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-437'>OPENJPA-437</a>] - EntityManagerFactory is not thread-safe
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-439'>OPENJPA-439</a>] - Performance degradation in multi-transaction operations
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-440'>OPENJPA-440</a>] - Calendar instance doesn't appear to detach properly (or proxying of it is in error?)
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-446'>OPENJPA-446</a>] - Problem when setting String fields of detached objects
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-447'>OPENJPA-447</a>] - Query pagination broken for non-DB2 databases
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-452'>OPENJPA-452</a>] - Error in the XML equivalent in the "secondary table field mapping" example
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-455'>OPENJPA-455</a>] - Incorrect MySQL DDL Generation for integer types
|
||||
</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-460'>OPENJPA-460</a>] - Can't convert to: Time, InformixDictionary needs timeTypeName set to "DATETIME HOUR TO SECOND"
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-464'>OPENJPA-464</a>] - Performance improvement with Statement Batching support
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-471'>OPENJPA-471</a>] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-472'>OPENJPA-472</a>] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.SEQUENCE ...)
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-476'>OPENJPA-476</a>] - Query.setFirstResult and Query.setMaxResults don't take effect
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-484'>OPENJPA-484</a>] - H2Dictionary has 'useGetObjectForBlobs' set to true, which should be false
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-489'>OPENJPA-489</a>] - DB2Dictionary casts string data to VARCHAR(1000) regardless of data length
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-498'>OPENJPA-498</a>] - OpenJPA 1.1.0-SNAPSHOT attempts to mutate unmodifiable map in Glassfish
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-505'>OPENJPA-505</a>] - CLONE -Incorrect Oracle DDL Generation for integer types since OPENJPA-455
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-506'>OPENJPA-506</a>] - PreRemove method callback is never called; PreUpdate is always called
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-508'>OPENJPA-508</a>] - JPQL EXISTS clauses do not handle subclasses properly
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-511'>OPENJPA-511</a>] - Unable to execute native queries which start with the WITH keyword.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-512'>OPENJPA-512</a>] - Maven build fails if -Dmaven.test.skip=true
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-516'>OPENJPA-516</a>] - Exceptions when persisting Entities with fields map to NVARCHAR columns
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-518'>OPENJPA-518</a>] - openJpa jar is being locked causing future deployments on an app server to fail
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-529'>OPENJPA-529</a>] - ManagedClassSubclasses stores table names twice.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-530'>OPENJPA-530</a>] - Statement batching incorrectly re-arranged order of SQL statements organized by update managers
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-532'>OPENJPA-532</a>] - SchemaTool performs no function if no pu is found.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-535'>OPENJPA-535</a>] - Javadoc spelling errors in SchemaFactory and Localizer
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-536'>OPENJPA-536</a>] - getMetaData() causes OutOfMemoryError under some cases
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-537'>OPENJPA-537</a>] - openjpa-parent pom should not overwrite central repository setting
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-538'>OPENJPA-538</a>] - In the case when user id and password are provided, openjpa should use them in the call to getConnection to avoid "Null userid is not supported" thrown from the backend.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-539'>OPENJPA-539</a>] - Can't create a table with a field of java type "Map" in Derby.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-540'>OPENJPA-540</a>] - Classloading issue with WAS, Spring, and OpenJPA
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-542'>OPENJPA-542</a>] - OracleDictionary.getEmptyClob uses its classloader instead of the current classloader.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-543'>OPENJPA-543</a>] - Unclosed prepared statements in SQLStoreQuery.executeUpdate.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-547'>OPENJPA-547</a>] - INNER JOIN Fetch query incorrectly generates LEFT join SQL
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-552'>OPENJPA-552</a>] - Do not recognize Connection* properties in persistence.xml in appl server container
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-559'>OPENJPA-559</a>] - java.rmi.MarshalException due to mismatched serialization UIDs of: Source (RepId RMI:org.apache.openjpa.kernel.DetachedStateManager
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-562'>OPENJPA-562</a>] - NPE when trying to invoke FieldMetada.getOrders() when a PersistenCollection field is being loaded.
|
||||
</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.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-568'>OPENJPA-568</a>] - Delete, re-insert and setting relationship in the same transaction results in
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-573'>OPENJPA-573</a>] - JPQL: The combination LIKE ESCAPE does not accept parameters
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-576'>OPENJPA-576</a>] - Recursively embedded entities generate an extra and reduntant SQL call to the database.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-577'>OPENJPA-577</a>] - OpenJPA doesn't create LoggingConnectionDecorator instance if log trace is not enabled
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-579'>OPENJPA-579</a>] - JDO Projection query with for a complex object with a clob field fails
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-585'>OPENJPA-585</a>] - Got EntityExistsException when invoking EntityManager.merge() to persist a new entity bean with generated id and enhanced at deployment time
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-587'>OPENJPA-587</a>] - Sybase queries that select columns from derived tables fail OOTB
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-588'>OPENJPA-588</a>] - Test for checking the absolute index of field metadata fails
|
||||
</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
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-594'>OPENJPA-594</a>] - Incorrect schema separator used for Informix tables
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-595'>OPENJPA-595</a>] - 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"
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="New Features"</a>New Features</h2>
|
||||
Features added for release 0.9.7
|
||||
<h2> Improvements
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-92'>OPENJPA-92</a>] - Support for H2 Database Engine</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-93'>OPENJPA-93</a>] - Sequence generation in a JTA environment should not require non-JTA datasource</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-94'>OPENJPA-94</a>] - Allow MappingTool and persistence.xml to support drop-create for database schema</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-182'>OPENJPA-182</a>] - db2 update lock syntax WITH <isolation> USE AND KEEP UPDATE LOCKS</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2><a name="Task"</a>Task</h2>
|
||||
Tasks done for release 0.9.7
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-36'>OPENJPA-36</a>] - Add cwiki url to incubator status page</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-338'>OPENJPA-338</a>] - Remove unnecessary CAST in SQL statement for DB2
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-374'>OPENJPA-374</a>] - OpenJPA build process enhances Entity classes even when testing is deactivated via -Dtest=false
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-407'>OPENJPA-407</a>] - Cache SQL (or closer precursors to SQL) more aggressively
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-448'>OPENJPA-448</a>] - Documentation fixes (1. openjpa.NontransactionalWrite, 2. setRollbackOnly)
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-454'>OPENJPA-454</a>] - Better support for running unit tests on DB2
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-488'>OPENJPA-488</a>] - Simplify JPQL SUBSTRING clauses involving literal index and position data
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-500'>OPENJPA-500</a>] - OpenJPAEntityManager.isManaged() is a confusing method name
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-522'>OPENJPA-522</a>] - pushFetchGroup(s) and popFetchGroup(s) on OpenJPAEntityManager
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-541'>OPENJPA-541</a>] - Generate SQL92 JOIN syntax for Oracle 9 or later releases
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-564'>OPENJPA-564</a>] - Set correct DBDictionary properties for MySQL based on MySQL version
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-570'>OPENJPA-570</a>] - Misleading "Found duplicate query" warning message
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="Test"</a>Test</h2>
|
||||
Additional testing done for release 0.9.7
|
||||
<h2> New Features
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-40'>OPENJPA-40</a>] - Testing OpenJPA and Spring integration fails</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-130'>OPENJPA-130</a>] - Streaming LOB support
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-147'>OPENJPA-147</a>] - <T> T OpenJPAEntityManager.createInstance(Class<T> cls) fails when T is interface
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-344'>OPENJPA-344</a>] - Allow serialization of runtime parsed data, and loading of serialized data into runtime caches
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-404'>OPENJPA-404</a>] - Backward-compatibility for pre-1.0 APIs
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-417'>OPENJPA-417</a>] - Support more elements in collections and maps
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-430'>OPENJPA-430</a>] - Automatically remove hungarian notation from column names.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-469'>OPENJPA-469</a>] - Generic (user, custom) GeneratedValue
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-490'>OPENJPA-490</a>] - JPQL extension: aggregates in ORDER BY
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-491'>OPENJPA-491</a>] - JPQL extension: scalar functions in GROUP BY
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-492'>OPENJPA-492</a>] - JPQL extension: scalar functions in SELECT
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-544'>OPENJPA-544</a>] - Remove JDK1.4 support
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h1><a name="1.0.2">OpenJPA 1.0.2 Release Notes</a></h1>
|
||||
|
||||
<h2> Bugs
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-135'>OPENJPA-135</a>] - join fetch not returning duplicate references which not conforming to ejb3.0 spec
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-211'>OPENJPA-211</a>] - CLONE -java.lang.VerifyError on websphere 6.1 with Spring 2.0.3 and OpenJpa 0.96/0.97
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-251'>OPENJPA-251</a>] - org.apache.openjpa.enhance.Reflection.getDeclaredMethod() has undefined behavior, leading to VM-dependent crashes
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-258'>OPENJPA-258</a>] - MetaDataInheritanceComparator is not transitive; C > B > A > C leads to out-of-memory crash in PCEnhancer
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-322'>OPENJPA-322</a>] - Timezone on the Calendar object lost in proxying
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-329'>OPENJPA-329</a>] - Generic interface may cause the openjpa Reflection code to pickup the wrong getter method
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-331'>OPENJPA-331</a>] - Allow BigInteger and other Basic types as Primary Keys
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-366'>OPENJPA-366</a>] - InternalException thrown in BrokerImpl.endOperation
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-367'>OPENJPA-367</a>] - PCEnhancer does not find meta data for entities using pure XML annotation
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-370'>OPENJPA-370</a>] - LoadFetchGroup annotation was not recognized during the fetch1
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-401'>OPENJPA-401</a>] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-419'>OPENJPA-419</a>] - Merging graphs that include managed instances fails
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-420'>OPENJPA-420</a>] - JPQL constructor query close the <SELECT DISTINCT> feature?
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-437'>OPENJPA-437</a>] - EntityManagerFactory is not thread-safe
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-446'>OPENJPA-446</a>] - Problem when setting String fields of detached objects
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-447'>OPENJPA-447</a>] - Query pagination broken for non-DB2 databases
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-452'>OPENJPA-452</a>] - Error in the XML equivalent in the "secondary table field mapping" example
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-471'>OPENJPA-471</a>] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-472'>OPENJPA-472</a>] - iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.SEQUENCE ...)
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-476'>OPENJPA-476</a>] - Query.setFirstResult and Query.setMaxResults don't take effect
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-506'>OPENJPA-506</a>] - PreRemove method callback is never called; PreUpdate is always called
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-508'>OPENJPA-508</a>] - JPQL EXISTS clauses do not handle subclasses properly
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-511'>OPENJPA-511</a>] - Unable to execute native queries which start with the WITH keyword.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h1><a name="1.0.1">OpenJPA 1.0.1 Release Notes</a></h1>
|
||||
|
||||
<h2> Bugs
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-113'>OPENJPA-113</a>] - when you specify columm table="empbean" in the xml file entity id or basic type when empbean is the default table name, the mapping tool generates extra foreign key field (eg.EmpBean_empid) in the table produced.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-282'>OPENJPA-282</a>] - Postgresql does not support deferred unique constraints.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-295'>OPENJPA-295</a>] - ArrayIndexOutofBoundsException when under load and within a managed Transaction
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-326'>OPENJPA-326</a>] - NPE if a discriminator column is specified without discriminator type in orm.xml
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-335'>OPENJPA-335</a>] - Logic in getters for entities with property access causes the PCEnhancer to hang
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-339'>OPENJPA-339</a>] - Java 2 security Access denied in File.toURL() call
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-343'>OPENJPA-343</a>] - Do not call setRollbackOnly on inactive Transactions
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-346'>OPENJPA-346</a>] - PCEnhancerAgent backwards-compatibility setting overly-enables enhancement
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-347'>OPENJPA-347</a>] - Performance Issue with Lazy Loaded Foreign Keys
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-353'>OPENJPA-353</a>] - Character discriminators are not converted correctly if storeCharsAsNumbers = true
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-355'>OPENJPA-355</a>] - OpenJPA Log4J factory incorrectly handles logging level
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-356'>OPENJPA-356</a>] - DB2 requires CASTs when parameters appear in SELECT clause
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-357'>OPENJPA-357</a>] - Use case where FetchGroup A includes FecthGroup B is not honoured by fetch operations
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-358'>OPENJPA-358</a>] - Recursion Depth for Field f should be calculated w.r.t active fetch groups and not all fetch groups
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-360'>OPENJPA-360</a>] - SQL FOR UPDATE OF incorrectly generated for DB2/NT SQL0816
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-361'>OPENJPA-361</a>] - Incorrect GREG_OFFSET offset or inconsistent usage in UUIDGenerator
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-367'>OPENJPA-367</a>] - PCEnhancer does not find meta data for entities using pure XML annotation
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-368'>OPENJPA-368</a>] - Multithreaded client fails randomly on EntityManager.persist() with out transaction context.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-369'>OPENJPA-369</a>] - AccessDeclaredMembers RuntimePermission requires by Solaris JDK with security enabled
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-372'>OPENJPA-372</a>] - PCEnhancer throws away its classloader
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-375'>OPENJPA-375</a>] - DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-378'>OPENJPA-378</a>] - DB2 SQL incorrectly generating "FETCH FIRST n ROWS ONLY" in subselects
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-380'>OPENJPA-380</a>] - Connecting to database when an unused emf is closed
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-382'>OPENJPA-382</a>] - Overriding column names for Byte[] attributes causes exception.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-385'>OPENJPA-385</a>] - IndexOutOfBounds exception when parsing ".class" files
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-387'>OPENJPA-387</a>] - Getting "java.lang.ClassNotFoundException" when loading datacache plug-in which is a class outside of OpenJPA package.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-388'>OPENJPA-388</a>] - MappingToolTask can't find persistence meta data.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-389'>OPENJPA-389</a>] - em.getTransaction().commit() is not issuing database commit for NativeQuery requesting updates
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-394'>OPENJPA-394</a>] - DB2 CAST VARCHAR type missing LENGTH
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-395'>OPENJPA-395</a>] - Accessing short Foreign Key metadata fields as ints causes problems on iSeries
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-396'>OPENJPA-396</a>] - Cloning Calendar proxies doesn't detach from StateManager
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-397'>OPENJPA-397</a>] - schematool ant task always requires files
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-399'>OPENJPA-399</a>] - openjpa did not handle multiple schema names with same table name
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-401'>OPENJPA-401</a>] - UnsatisfiedLinkError in MappingToolTask when using DB2 JDBC driver
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-402'>OPENJPA-402</a>] - Unable to detect an valid Entity's meta data when the entity's .class file size is large.
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-403'>OPENJPA-403</a>] - LoadFetchGroup patch (OPENJPA-370) introduces NPE
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-405'>OPENJPA-405</a>] - need extract space in the message text
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-409'>OPENJPA-409</a>] - Quick message updates
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-410'>OPENJPA-410</a>] - Change "connecting to dictionary" message from Info to Trace
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-413'>OPENJPA-413</a>] - Fix some message text in the localizer.properties files
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-415'>OPENJPA-415</a>] - Garbage collection of AbstractResultList instance closes active connection
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-416'>OPENJPA-416</a>] - Unclear exception if an unknown external value is used
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-421'>OPENJPA-421</a>] - OpenJPA generates bad SQL before configuration fully populated
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-422'>OPENJPA-422</a>] - Calendar objects contained in a detached Entity still have a "live" StateManagerImpl
|
||||
</li>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-423'>OPENJPA-423</a>] - Deadlock victim exception getting sequence value with SQLServer
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2> Sub-tasks
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-408'>OPENJPA-408</a>] - Improve error processing for openjpa.RuntimeUnenhancedClasses property settings
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2> Improvements
|
||||
</h2>
|
||||
<ul>
|
||||
<li>[<a href='https://issues.apache.org/jira/browse/OPENJPA-338'>OPENJPA-338</a>] - Remove unnecessary CAST in SQL statement for DB2
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
@ -317,7 +681,111 @@ Additional testing done for release 0.9.7
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<h1><a name="0.9.7">OpenJPA 0.9.7 Release Notes</a></h1>
|
||||
|
||||
<h2>Bugs</h2>
|
||||
The following bugs have been fixed for release 0.9.7
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-16'>OPENJPA-16</a>] - NPE in createQuery for EJB QL with nested correlated subqueries</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-21'>OPENJPA-21</a>] - Time is missing from list of mutable classes.</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-22'>OPENJPA-22</a>] - locate & substring queries fail both db2 & derby, cannot use parameter markers in expression ?-?</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-23'>OPENJPA-23</a>] - -418 sqlexception using DB2 and EJB QL with SQRT or MOD</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-24'>OPENJPA-24</a>] - Allow OpenJPA to be extensible</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-25'>OPENJPA-25</a>] - Incorrect SQL generated for queries involving more than one AbstractSchemaNames, generated SQL FROM clause is missing 'Table alias'</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-35'>OPENJPA-35</a>] - In-memory Delete operation fails with active DataCache</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-41'>OPENJPA-41</a>] - transforming classes doesn't work</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-48'>OPENJPA-48</a>] - parsing error - cast of subselect does not work</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-50'>OPENJPA-50</a>] - bad sql pushdown, cast changes datatype</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-53'>OPENJPA-53</a>] - bad sql pushdown for nested subselects, missing nested subselect</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-54'>OPENJPA-54</a>] - bad sql pushdown, should use all syntax</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-56'>OPENJPA-56</a>] - in derby concat with input parameter needs a cast, otherwise becomes long varchar and some operations do not work</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-60'>OPENJPA-60</a>] - Specifying the wrong persistence implementation in persistence.xml leads to misleading error message</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-62'>OPENJPA-62</a>] - Ejbql join queries show invalid null Entities when run in a new persistence context where no entity instances exist.</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-71'>OPENJPA-71</a>] - Caching primitive array types consumes excessive memory</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-77'>OPENJPA-77</a>] - Problems in default setting in DB2Dictionary , also missing support for DB2 z/OS platforms</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-80'>OPENJPA-80</a>] - Bad Escaping for LIKE in MySQL</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-98'>OPENJPA-98</a>] - Java deadlock when insert in t1 and find in t2 when using IBM JVM 1.5.0</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-100'>OPENJPA-100</a>] - <jar-file> entries failing to be processed for persistence unit rooted in an EAR</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-102'>OPENJPA-102</a>] - JTA transaction rollback, nonexistant instances, transactional persistence context => failures during afterCompletion() and close()</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-103'>OPENJPA-103</a>] - Default Listeners not being processed correctly</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-104'>OPENJPA-104</a>] - OpenJPA does not detach instances on rollback()</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-107'>OPENJPA-107</a>] - @SqlResultSetMappings fails in mapping tool with java.lang.ArrayStoreException</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-108'>OPENJPA-108</a>] - @AttributeOverrides fails in mapping tool with java.lang.ArrayStoreException</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-109'>OPENJPA-109</a>] - every NativeQuery using SqlResultSetMapping fails at runtime with There is no query result mapping for "null" with name "xxx" when the entity is persisted in a different method than the method doing the query. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-110'>OPENJPA-110</a>] - Every NamedNativeQuery using ResultSetMapping fails at runtime with class cast exception when try to iterate over list<Some Entity></li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-111'>OPENJPA-111</a>] - native queries fail when use named parameters</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-115'>OPENJPA-115</a>] - Bottleneck(s) with using OpenJPA in a Container-managed environment</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-116'>OPENJPA-116</a>] - EntityManager.getDelegate should throw an IllegalStateException </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-118'>OPENJPA-118</a>] - AutoDetach property has no effect</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-119'>OPENJPA-119</a>] - EntityManager.clear() should not implicitly invoke the flush operation</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-121'>OPENJPA-121</a>] - Table name defaults to the class name instead of the entity name</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-122'>OPENJPA-122</a>] - EntityManager does not throw exceptions after close() in required cases</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-132'>OPENJPA-132</a>] - java.lang.NoSuchMethodError for entity with ID of type java.sql.Date</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-133'>OPENJPA-133</a>] - Can't find non-public callback methods with superclass or interface parameters</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-134'>OPENJPA-134</a>] - Extra unneeded SQL joins for OneToMany relationship with fetch type EAGER</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-139'>OPENJPA-139</a>] - PersistenceException merging an entity with a Calendar field. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-140'>OPENJPA-140</a>] - Wrong package name in test classes</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-142'>OPENJPA-142</a>] - Entity name is ignored when specified in the orm.xml file</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-144'>OPENJPA-144</a>] - JDBCConfigurationImpl does not support JNDI lookup for non-jta-data-source. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-146'>OPENJPA-146</a>] - Entity enhancement fails while using EmbeddedId on a MappedSuperclass</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-150'>OPENJPA-150</a>] - @Column in @AttributeOverride not honoring table attribute that maps to a secondary table in mappedsuperclass entity</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-154'>OPENJPA-154</a>] - OptimisticLockException working with Savepoints</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-155'>OPENJPA-155</a>] - java.lang.ArrayIndexOutOfBoundsException during commit</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-157'>OPENJPA-157</a>] - NullPointerException when running query with null parameter</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-162'>OPENJPA-162</a>] - @OrderBy on @OneToMany does not allow ordering by @Id value</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-174'>OPENJPA-174</a>] - error when find()'ing an abstract class</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-175'>OPENJPA-175</a>] - Eager selects by PagingResultObjectProvider may not use the FetchBatchSize</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-179'>OPENJPA-179</a>] - Schemas defined in orm.xml are only applied when a name is also specified. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-181'>OPENJPA-181</a>] - ClassCastException when executing bulk delete on an entity that owns a OneToOne with a Cascade.DELETE when DataCache is on</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-185'>OPENJPA-185</a>] - optional attribute is not overriden by xml descriptor</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-186'>OPENJPA-186</a>] - Build failure of OpenJPA sources from trunk</li>
|
||||
</ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-202'>OPENJPA-202</a>] - after invoking LRS processing in a client by calling an @LRS annotated relationship, the next em.clear()/em.close() gets org.apache.openjpa.persistence.InvalidStateException: You cannot transfer large result set fields from one object or field to another</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-208'>OPENJPA-208</a>] - NoResultException and NonUniqueResultException are not thrown when expected</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-214'>OPENJPA-214</a>] - Need to support floating point primary keys</li>
|
||||
</ul>
|
||||
|
||||
<h2>Improvements</h2>
|
||||
Improvements made for release 0.9.7
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-10'>OPENJPA-10</a>] - persistence unit name should be default diagnostic context for standard OpenJPA log impl</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-37'>OPENJPA-37</a>] - Support ant typedefs for OpenJPA tasks</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-55'>OPENJPA-55</a>] - Allow executeUpdate() invocations on native queries</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-57'>OPENJPA-57</a>] - persistence_1_0.xsd is missing</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-63'>OPENJPA-63</a>] - Better pessimistic lock support for DB2 v8.2+</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-151'>OPENJPA-151</a>] - Added field in enhanced vesrion of a class is not serialized. Hence the change in detached+serialized instances is not registered under certain conditions. </li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-153'>OPENJPA-153</a>] - WebSphere and non-jta-data-source and default ManagedRuntime</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-158'>OPENJPA-158</a>] - OpenJPA logs overly-verbose at INFO level</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-161'>OPENJPA-161</a>] - Overuse of synchronization in AbstractBrokerFactory</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-166'>OPENJPA-166</a>] - Track the reason why a setRollbackOnly invocation was made</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-176'>OPENJPA-176</a>] - Exception prefixes should be human-readable</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-196'>OPENJPA-196</a>] - Ease the restrictions on forcing a matche between the number of declared and assigned positional parameters</li>
|
||||
</ul>
|
||||
|
||||
<h2>New Features</h2>
|
||||
Features added for release 0.9.7
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-92'>OPENJPA-92</a>] - Support for H2 Database Engine</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-93'>OPENJPA-93</a>] - Sequence generation in a JTA environment should not require non-JTA datasource</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-94'>OPENJPA-94</a>] - Allow MappingTool and persistence.xml to support drop-create for database schema</li>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-182'>OPENJPA-182</a>] - db2 update lock syntax WITH <isolation> USE AND KEEP UPDATE LOCKS</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h2>Task</h2>
|
||||
Tasks done for release 0.9.7
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-36'>OPENJPA-36</a>] - Add cwiki url to incubator status page</li>
|
||||
</ul>
|
||||
|
||||
<h2>Test</h2>
|
||||
Additional testing done for release 0.9.7
|
||||
<ul>
|
||||
<li>[<a href='http://issues.apache.org/jira/browse/OPENJPA-40'>OPENJPA-40</a>] - Testing OpenJPA and Spring integration fails</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -1,405 +1,407 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||
http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<!--
|
||||
To build the distribution files from project root:
|
||||
|
||||
mvn clean compile package -Dtest=false
|
||||
|
||||
To build and deploy a full digned release with docs, run:
|
||||
|
||||
mvn clean deploy -Pjavadoc-profile,docbook-profile,sign-release
|
||||
|
||||
Note that to sign the release, you need to have "gpg" installed and
|
||||
create a key. See http://apache.org/dev/release-signing.html
|
||||
-->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>apache-openjpa</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>OpenJPA Distribution</name>
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-parent</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<openjpa.release.keyAlias>
|
||||
${user.name}@apache.org
|
||||
</openjpa.release.keyAlias>
|
||||
|
||||
<openjpa.assembly.finalName>
|
||||
${artifactId}-${version}</openjpa.assembly.finalName>
|
||||
<openjpa.assembly.outputDirectory>
|
||||
${project.basedir}/../target/site/downloads
|
||||
</openjpa.assembly.outputDirectory>
|
||||
|
||||
<openjpa.assembly.binarySuffix>binary</openjpa.assembly.binarySuffix>
|
||||
<openjpa.assembly.binaryBase>
|
||||
${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.binarySuffix}
|
||||
</openjpa.assembly.binaryBase>
|
||||
<openjpa.assembly.binaryFile>
|
||||
${openjpa.assembly.binaryBase}.zip
|
||||
</openjpa.assembly.binaryFile>
|
||||
|
||||
<openjpa.assembly.sourceSuffix>source</openjpa.assembly.sourceSuffix>
|
||||
<openjpa.assembly.sourceBase>
|
||||
${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.sourceSuffix}
|
||||
</openjpa.assembly.sourceBase>
|
||||
<openjpa.assembly.sourceFile>
|
||||
${openjpa.assembly.sourceBase}.zip
|
||||
</openjpa.assembly.sourceFile>
|
||||
|
||||
<parent.site.docs>
|
||||
${project.basedir}/../target/site/docs
|
||||
</parent.site.docs>
|
||||
|
||||
<docbook.source>${project.basedir}/src/doc/manual</docbook.source>
|
||||
<docbook.target>${project.basedir}/target/manual</docbook.target>
|
||||
<docbook.version>1.67.2</docbook.version>
|
||||
<local.repository>${settings.localRepository}</local.repository>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<!-- needed to let maven pass the "compile" phase -->
|
||||
<testSourceDirectory>/none/</testSourceDirectory>
|
||||
|
||||
<!-- filter site resources -->
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/src/site</directory>
|
||||
<!-- targetPath is relative to target/classes/ -->
|
||||
<targetPath>../filtered-site</targetPath>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bin</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptor>assembly.xml</descriptor>
|
||||
<outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory>
|
||||
<workDirectory>target/work</workDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>sources</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptor>source-assembly.xml</descriptor>
|
||||
<outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory>
|
||||
<workDirectory>target/work</workDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!--
|
||||
Copy over site files from src/site to target/filtered-site
|
||||
so we can filter resources and include other generated
|
||||
content from the openjpa-project module.
|
||||
-->
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prefilter-site</id>
|
||||
<phase>site</phase>
|
||||
<goals>
|
||||
<goal>resources</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>2.0-beta-5</version>
|
||||
<configuration>
|
||||
<siteDirectory>target/filtered-site</siteDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<!--
|
||||
Docbook profile. Docs can be built by running:
|
||||
MAVEN_OPTS=-Xmx512m
|
||||
mvn -f openjpa-project/pom.xml process-resources -Pdocbook-profile
|
||||
-->
|
||||
<profile>
|
||||
<id>docbook-profile</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- build the docs when processing resources -->
|
||||
<plugin>
|
||||
<groupId>com.agilejava.docbkx</groupId>
|
||||
<artifactId>docbkx-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-pdf-doc</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals><goal>generate-pdf</goal></goals>
|
||||
<configuration>
|
||||
<sourceDirectory>
|
||||
${docbook.source}
|
||||
</sourceDirectory>
|
||||
<targetDirectory>
|
||||
${docbook.target}
|
||||
</targetDirectory>
|
||||
<includes>manual.xml</includes>
|
||||
<foCustomization>
|
||||
${docbook.source}/manual-pdf.xsl
|
||||
</foCustomization>
|
||||
<imgSrcPath>
|
||||
${docbook.source}/
|
||||
</imgSrcPath>
|
||||
<postProcess>
|
||||
<!-- copy to parent module for
|
||||
expanded access in upload -->
|
||||
<mkdir dir="${parent.site.docs}"/>
|
||||
<delete file="${docbook.target}/manual.fo"/>
|
||||
<copy todir="${parent.site.docs}">
|
||||
<fileset
|
||||
dir="${docbook.target}">
|
||||
<include name="manual.pdf"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>build-chunked-doc</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals><goal>generate-html</goal></goals>
|
||||
<configuration>
|
||||
<sourceDirectory>
|
||||
${docbook.source}
|
||||
</sourceDirectory>
|
||||
<targetDirectory>
|
||||
${docbook.target}
|
||||
</targetDirectory>
|
||||
<includes>manual.xml</includes>
|
||||
<chunkedOutput>true</chunkedOutput>
|
||||
<chunkQuietly>false</chunkQuietly>
|
||||
<htmlCustomization>
|
||||
${docbook.source}/manual-xhtml-chunk.xsl
|
||||
</htmlCustomization>
|
||||
<postProcess>
|
||||
<!-- rename manual to index -->
|
||||
<move
|
||||
file="${docbook.target}/manual.html"
|
||||
tofile="${docbook.target}/index.html"/>
|
||||
|
||||
<!-- copy over images and styles -->
|
||||
<mkdir dir="${docbook.target}/img"/>
|
||||
<copy todir="${docbook.target}/img">
|
||||
<fileset
|
||||
dir="${docbook.source}/img">
|
||||
<include name="*.*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<mkdir dir="${docbook.target}/css"/>
|
||||
<copy todir="${docbook.target}/css">
|
||||
<fileset
|
||||
dir="${docbook.source}/css">
|
||||
<include name="*.*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- copy to parent module for
|
||||
expanded access in upload -->
|
||||
<mkdir dir="${parent.site.docs}"/>
|
||||
<copy todir="${parent.site.docs}">
|
||||
<fileset
|
||||
dir="${docbook.target}">
|
||||
<include name="*.*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>build-single-doc</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals><goal>generate-html</goal></goals>
|
||||
<configuration>
|
||||
<sourceDirectory>
|
||||
${docbook.source}
|
||||
</sourceDirectory>
|
||||
<targetDirectory>
|
||||
${docbook.target}
|
||||
</targetDirectory>
|
||||
<includes>manual.xml</includes>
|
||||
<chunkedOutput>false</chunkedOutput>
|
||||
<htmlCustomization>
|
||||
${docbook.source}/manual-xhtml.xsl
|
||||
</htmlCustomization>
|
||||
<postProcess>
|
||||
<!-- copy to parent module for
|
||||
expanded access in upload -->
|
||||
<mkdir dir="${parent.site.docs}"/>
|
||||
<copy todir="${parent.site.docs}">
|
||||
<fileset
|
||||
dir="${docbook.target}">
|
||||
<include name="manual.html"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.docbook</groupId>
|
||||
<artifactId>docbook-xml</artifactId>
|
||||
<version>4.4</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<activation>
|
||||
<property>
|
||||
<name>builddocs</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>agilejava</id>
|
||||
<name>Agilejava repository (Docbook plugin)</name>
|
||||
<url>http://agilejava.com/maven</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
|
||||
<!-- sign the release files -->
|
||||
<profile>
|
||||
<id>sign-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo>Signing release files...</echo>
|
||||
<macrodef name="sign-file">
|
||||
<attribute name="file" />
|
||||
<sequential>
|
||||
<delete failonerror="false"
|
||||
file="@{file}.asc"/>
|
||||
<exec executable="gpg"
|
||||
failonerror="true">
|
||||
<arg value="--batch"/>
|
||||
<arg value="--verbose"/>
|
||||
<arg value="--default-key"/>
|
||||
<arg value="${openjpa.release.keyAlias}"/>
|
||||
<arg value="--armor"/>
|
||||
<arg value="--detach-sig"/>
|
||||
<arg value="@{file}"/>
|
||||
</exec>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
<sign-file file="${openjpa.assembly.binaryFile}"/>
|
||||
<sign-file file="${openjpa.assembly.sourceFile}"/>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-signature-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<file>${openjpa.assembly.binaryFile}.asc</file>
|
||||
<classifier>${openjpa.assembly.binarySuffix}.zip</classifier>
|
||||
<type>asc</type>
|
||||
</artifact>
|
||||
<artifact>
|
||||
<file>${openjpa.assembly.sourceFile}.asc</file>
|
||||
<classifier>${openjpa.assembly.sourceSuffix}.zip</classifier>
|
||||
<type>asc</type>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<activation>
|
||||
<property>
|
||||
<name>sign</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<!-- need to explicitly list dependencies for assembly to work -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- included so we can include it in the distribution -->
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||
http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<!--
|
||||
To build the distribution files from project root:
|
||||
|
||||
mvn clean compile package -Dtest=false
|
||||
|
||||
To build and deploy a full digned release with docs, run:
|
||||
|
||||
mvn clean deploy -Pjavadoc-profile,docbook-profile,sign-release
|
||||
|
||||
Note that to sign the release, you need to have "gpg" installed and
|
||||
create a key. See http://apache.org/dev/release-signing.html
|
||||
-->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>apache-openjpa</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>OpenJPA Distribution</name>
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-parent</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<openjpa.release.keyAlias>
|
||||
${user.name}@apache.org
|
||||
</openjpa.release.keyAlias>
|
||||
|
||||
<openjpa.assembly.finalName>
|
||||
${artifactId}-${version}</openjpa.assembly.finalName>
|
||||
<openjpa.assembly.outputDirectory>
|
||||
${project.basedir}/../target/site/downloads
|
||||
</openjpa.assembly.outputDirectory>
|
||||
|
||||
<openjpa.assembly.binarySuffix>binary</openjpa.assembly.binarySuffix>
|
||||
<openjpa.assembly.binaryBase>
|
||||
${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.binarySuffix}
|
||||
</openjpa.assembly.binaryBase>
|
||||
<openjpa.assembly.binaryFile>
|
||||
${openjpa.assembly.binaryBase}.zip
|
||||
</openjpa.assembly.binaryFile>
|
||||
|
||||
<openjpa.assembly.sourceSuffix>source</openjpa.assembly.sourceSuffix>
|
||||
<openjpa.assembly.sourceBase>
|
||||
${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.sourceSuffix}
|
||||
</openjpa.assembly.sourceBase>
|
||||
<openjpa.assembly.sourceFile>
|
||||
${openjpa.assembly.sourceBase}.zip
|
||||
</openjpa.assembly.sourceFile>
|
||||
|
||||
<parent.site.docs>
|
||||
${project.basedir}/../target/site/docs
|
||||
</parent.site.docs>
|
||||
|
||||
<docbook.source>${project.basedir}/src/doc/manual</docbook.source>
|
||||
<docbook.target>${project.basedir}/target/manual</docbook.target>
|
||||
<docbook.version>1.67.2</docbook.version>
|
||||
<local.repository>${settings.localRepository}</local.repository>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<!-- needed to let maven pass the "compile" phase -->
|
||||
<testSourceDirectory>/none/</testSourceDirectory>
|
||||
|
||||
<!-- filter site resources -->
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/src/site</directory>
|
||||
<!-- targetPath is relative to target/classes/ -->
|
||||
<targetPath>../filtered-site</targetPath>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bin</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptor>assembly.xml</descriptor>
|
||||
<outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory>
|
||||
<workDirectory>target/work</workDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>sources</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptor>source-assembly.xml</descriptor>
|
||||
<outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory>
|
||||
<workDirectory>target/work</workDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!--
|
||||
Copy over site files from src/site to target/filtered-site
|
||||
so we can filter resources and include other generated
|
||||
content from the openjpa-project module.
|
||||
-->
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prefilter-site</id>
|
||||
<phase>site</phase>
|
||||
<goals>
|
||||
<goal>resources</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>2.0-beta-5</version>
|
||||
<configuration>
|
||||
<siteDirectory>target/filtered-site</siteDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<!--
|
||||
Docbook profile. Docs can be built by running:
|
||||
MAVEN_OPTS=-Xmx512m
|
||||
mvn -f openjpa-project/pom.xml process-resources -Pdocbook-profile
|
||||
-->
|
||||
<profile>
|
||||
<id>docbook-profile</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- build the docs when processing resources -->
|
||||
<plugin>
|
||||
<groupId>com.agilejava.docbkx</groupId>
|
||||
<artifactId>docbkx-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-pdf-doc</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals><goal>generate-pdf</goal></goals>
|
||||
<configuration>
|
||||
<sourceDirectory>
|
||||
${docbook.source}
|
||||
</sourceDirectory>
|
||||
<targetDirectory>
|
||||
${docbook.target}
|
||||
</targetDirectory>
|
||||
<includes>manual.xml</includes>
|
||||
<foCustomization>
|
||||
${docbook.source}/manual-pdf.xsl
|
||||
</foCustomization>
|
||||
<imgSrcPath>
|
||||
${docbook.source}/
|
||||
</imgSrcPath>
|
||||
<postProcess>
|
||||
<!-- copy to parent module for
|
||||
expanded access in upload -->
|
||||
<mkdir dir="${parent.site.docs}"/>
|
||||
<delete file="${docbook.target}/manual.fo"/>
|
||||
<copy todir="${parent.site.docs}">
|
||||
<fileset
|
||||
dir="${docbook.target}">
|
||||
<include name="manual.pdf"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>build-chunked-doc</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals><goal>generate-html</goal></goals>
|
||||
<configuration>
|
||||
<sourceDirectory>
|
||||
${docbook.source}
|
||||
</sourceDirectory>
|
||||
<targetDirectory>
|
||||
${docbook.target}
|
||||
</targetDirectory>
|
||||
<includes>manual.xml</includes>
|
||||
<chunkedOutput>true</chunkedOutput>
|
||||
<chunkQuietly>false</chunkQuietly>
|
||||
<htmlCustomization>
|
||||
${docbook.source}/manual-xhtml-chunk.xsl
|
||||
</htmlCustomization>
|
||||
<postProcess>
|
||||
<!-- rename manual to index -->
|
||||
<move
|
||||
file="${docbook.target}/manual.html"
|
||||
tofile="${docbook.target}/index.html"/>
|
||||
|
||||
<!-- copy over images and styles -->
|
||||
<mkdir dir="${docbook.target}/img"/>
|
||||
<copy todir="${docbook.target}/img">
|
||||
<fileset
|
||||
dir="${docbook.source}/img">
|
||||
<include name="*.*"/>
|
||||
<exclude name="*.graffle"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<mkdir dir="${docbook.target}/css"/>
|
||||
<copy todir="${docbook.target}/css">
|
||||
<fileset
|
||||
dir="${docbook.source}/css">
|
||||
<include name="*.*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- copy to parent module for
|
||||
expanded access in upload -->
|
||||
<mkdir dir="${parent.site.docs}"/>
|
||||
<copy todir="${parent.site.docs}">
|
||||
<fileset
|
||||
dir="${docbook.target}">
|
||||
<include name="*.*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>build-single-doc</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals><goal>generate-html</goal></goals>
|
||||
<configuration>
|
||||
<sourceDirectory>
|
||||
${docbook.source}
|
||||
</sourceDirectory>
|
||||
<targetDirectory>
|
||||
${docbook.target}
|
||||
</targetDirectory>
|
||||
<includes>manual.xml</includes>
|
||||
<chunkedOutput>false</chunkedOutput>
|
||||
<htmlCustomization>
|
||||
${docbook.source}/manual-xhtml.xsl
|
||||
</htmlCustomization>
|
||||
<postProcess>
|
||||
<!-- copy to parent module for
|
||||
expanded access in upload -->
|
||||
<mkdir dir="${parent.site.docs}"/>
|
||||
<copy todir="${parent.site.docs}">
|
||||
<fileset
|
||||
dir="${docbook.target}">
|
||||
<include name="manual.html"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.docbook</groupId>
|
||||
<artifactId>docbook-xml</artifactId>
|
||||
<version>4.4</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<activation>
|
||||
<property>
|
||||
<name>builddocs</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>agilejava</id>
|
||||
<name>Agilejava repository (Docbook plugin)</name>
|
||||
<url>http://agilejava.com/maven</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
|
||||
<!-- sign the release files -->
|
||||
<profile>
|
||||
<id>sign-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo>Signing release files...</echo>
|
||||
<macrodef name="sign-file">
|
||||
<attribute name="file" />
|
||||
<sequential>
|
||||
<delete failonerror="false"
|
||||
file="@{file}.asc"/>
|
||||
<exec executable="gpg"
|
||||
failonerror="true">
|
||||
<arg value="--batch"/>
|
||||
<arg value="--passphrase"/>
|
||||
<arg value="${gpg.passphrase}"/>
|
||||
<arg value="--verbose"/>
|
||||
<arg value="--default-key"/>
|
||||
<arg value="${openjpa.release.keyAlias}"/>
|
||||
<arg value="--armor"/>
|
||||
<arg value="--detach-sig"/>
|
||||
<arg value="@{file}"/>
|
||||
</exec>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
<sign-file file="${openjpa.assembly.binaryFile}"/>
|
||||
<sign-file file="${openjpa.assembly.sourceFile}"/>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-signature-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<file>${openjpa.assembly.binaryFile}.asc</file>
|
||||
<classifier>${openjpa.assembly.binarySuffix}.zip</classifier>
|
||||
<type>asc</type>
|
||||
</artifact>
|
||||
<artifact>
|
||||
<file>${openjpa.assembly.sourceFile}.asc</file>
|
||||
<classifier>${openjpa.assembly.sourceSuffix}.zip</classifier>
|
||||
<type>asc</type>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<activation>
|
||||
<property>
|
||||
<name>sign</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<!-- need to explicitly list dependencies for assembly to work -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- included so we can include it in the distribution -->
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
27
pom.xml
27
pom.xml
|
@ -95,15 +95,30 @@
|
|||
</modules>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>release</name>
|
||||
</property>
|
||||
</activation>
|
||||
<id>sign-release</id>
|
||||
<modules>
|
||||
<module>openjpa-project</module>
|
||||
</modules>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.0-alpha-4</version>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||
<passphrase>${gpg.passphrase}</passphrase>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue