OpenJPA 3.2.x
This distribution is based on the final JSR 338 Java Persistence API, Version 2.2 specification.
Additional information on the OpenJPA project may be found at the project web site.
Changes in OpenJPA 3.2.2
Sub-task
- [OPENJPA-2713] - [JPA-2.2] add support for Java8 Date/Time types
Improvement
- [OPENJPA-2900] - javax.xml.bind must be relocated to jakarta namespace
Changes in OpenJPA 3.2.1
Bug
- [OPENJPA-2614] - First rollback after application start does not work under certain circumstances
- [OPENJPA-2876] - running 'refresh' schema action creates wrong SQL output
- [OPENJPA-2877] - [JPA-2.1] implement AttributeConverter
- [OPENJPA-2882] - Exception passing javax.persistence.* String values to createEntityManager(Map)
- [OPENJPA-2883] - UseTriggersForAutoAssign in Oracle seems to be broken
- [OPENJPA-2889] - commons-pool2 bundle version defined in karaf features repository is not aligned with the actual version used by openjpa
- [OPENJPA-2891] - @Generated annotation cannot be disabled for static metamodel
- [OPENJPA-2896] - Automatic module name is not set for bundles
Improvement
- [OPENJPA-2875] - JPA Provider must filter out other JPA Providers
- [OPENJPA-2881] - runtime exception in org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource
- [OPENJPA-2893] - H2 2.x is not working with OpenJPA
Task
- [OPENJPA-2884] - javax.annotation.processing shouldn't be relocated in jakarta shade
- [OPENJPA-2885] - Make openjpa-junit5 support jakarta namespace
Changes in OpenJPA 3.2.0
Sub-task
- [OPENJPA-1594] - Tests not handling new QueryTimeOut and LockTimeOut exceptions correctly
Bug
- [OPENJPA-1303] - Reserved words are not mapped correctly in table definition
- [OPENJPA-2182] - DB dictionaries do not properly process reserved words for column names
- [OPENJPA-2648] - hsqldb @Id long create table as interger instead of bigint
- [OPENJPA-2731] - Problems with Boolean Representation with Postgres
- [OPENJPA-2788] - Anonymous parameters are not being picked when adding via CriteriaBuilder
- [OPENJPA-2789] - JDBC connection not closed when running named query in explicitly opened connection
- [OPENJPA-2795] - generate foreign key indexes for Oracle
- [OPENJPA-2821] - Subclassing enhancer must use AsmAdapter
- [OPENJPA-2828] - org.apache.openjpa.kernel.conf.Specification.equals() : returns true even if different
- [OPENJPA-2829] - javax script execution does not ignore empty lines
- [OPENJPA-2830] - javax.persistence.sql-load-script-source does not support ";" in strings
- [OPENJPA-2832] - DROP COLUMN does not use delimiters and always add double quotes
- [OPENJPA-2834] - Performance issue while deploying in Wildfly EAP with OpenJPA-3.1.1
- [OPENJPA-2842] - openjpa.Log=log4j vs log4j2 - reintroduce log4j support and add explicit log4j2 support
- [OPENJPA-2843] - try to get rid of com.ibm dependency
- [OPENJPA-2846] - Enhancement does not work with JDK 16
- [OPENJPA-2849] - select(max) etc of LocalDate, LocalDateTime etc leads to ClassCastException
- [OPENJPA-2850] - [MSSQL] BLOB column type is not supported
- [OPENJPA-2851] - argument CURRENT_DATE cannot handle java.time.LocalDateTime entity fields
- [OPENJPA-2854] - fix OffsetTime handling for PostgreSQL
- [OPENJPA-2855] - primary keys do no respect naming rules
- [OPENJPA-2856] - [MariaDB] improve TIME handling
- [OPENJPA-2857] - [MariaDB] locking in some cases gets handled via sqlState 70100
- [OPENJPA-2858] - update dbcp2 to 2.8.0
- [OPENJPA-2859] - [HSQLDB] HSQLDictionary wrongly maps double to NUMERIC without precision
- [OPENJPA-2860] - [Postgres] use setQueryTimeout for PostgreSQL >= 10
- [OPENJPA-2861] - select sum(CASE x WHEN x THEN 1 ELSE 0 ) returns String instead of Long.
- [OPENJPA-2862] - select SUM doesn't return spec defined types
- [OPENJPA-2863] - java.time.LocalDateTime in Oracle gets rounded to just 3 digits
- [OPENJPA-2864] - respect the Columns precision when persisting a java.sql.Timestamp value
- [OPENJPA-2865] - [Oracle] use native java.time JDBC features
- [OPENJPA-2866] - [Oracle] add GenerationType#IDENTITY support for Oracle
- [OPENJPA-2871] - upgrade to xbean-4.20 to remove transitive ASM dependency
New Feature
Improvement
- [OPENJPA-84] - Escape sql reserved words in column names
- [OPENJPA-2665] - refactore code to use more Java7 features.
- [OPENJPA-2765] - Fix documentation of JPA spec compliance
- [OPENJPA-2820] - Track when a DBIdentifier is already delimited in order to save memory allocations and cpu
- [OPENJPA-2822] - enhancer can rely on at least java8
- [OPENJPA-2823] - treat jakarta.* as spec class in enhancer
- [OPENJPA-2852] - Maven Plugin should be marked thread safe
- [OPENJPA-2853] - [MSSQL Server] support sendTimeAsDatetime handling
- [OPENJPA-2867] - generate list of reserved Words via unit test
- [OPENJPA-2868] - update reserved column names list for various of our DBDictionaries
- [OPENJPA-2870] - update specification-version to 2.2
Task
- [OPENJPA-2819] - Add simple GitHub Actions validation for Pull Requests
- [OPENJPA-2824] - When @OpenJPASupport (junit5 extension) is used, ensure to not do auto enhancement more than once
- [OPENJPA-2831] - Import commons-collections4 classes instead of the dependency in openjpa-lib
- [OPENJPA-2833] - Upgrade to ASM 9
- [OPENJPA-2835] - update to xbean-asm9 for Java16 support
- [OPENJPA-2838] - Add a JUL LogFactory
- [OPENJPA-2840] - Enable a light SPI for asm support in kernel module
- [OPENJPA-2869] - Specification-Version still in v2