[
https://issues.apache.org/jira/browse/OPENJPA-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080592#comment-18080592
]
ASF subversion and git services commented on OPENJPA-2940:
----------------------------------------------------------
Commit c0742b5730c7350cc53ffd69601d15db92b8602c in openjpa's branch
refs/heads/OPENJPA-2940 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=c0742b573 ]
[OPENJPA-2940] Fix PG17/PG18 CUSTMAPPC boolean binding and pin TZ in build
matrix
On PostgreSQL 17+, binding a Java boolean into a SMALLINT column is
rejected without an explicit cast. The create-postgresql.sql script
declared CUSTMAPPC.FEMALE as SMALLINT, which leaked into the DB when
TestSchemaGenerationProperties.testSchemaGenScriptCreate ran before
TestEJBCustomMapping (filesystem-order dependent). Change FEMALE to
BOOLEAN so the script matches what PostgresDictionary would produce at
runtime (bitTypeName="BOOL").
Also add scripts/run-build-matrix.sh, which drives the dockerised
mariadb/mysql/pg17/pg18 matrix. It exports TZ=UTC before invoking
Maven so the JVM and the docker DB sessions agree on wall clock.
This prevents TestEJBQLFunction.testExtractHourFromLocalTime from
flaking when the host JVM default TZ differs from the PG session TZ
(e.g. Europe/Berlin host vs UTC container).
> Implement Jakarta Persistence 3.2
> ---------------------------------
>
> Key: OPENJPA-2940
> URL: https://issues.apache.org/jira/browse/OPENJPA-2940
> Project: OpenJPA
> Issue Type: Improvement
> Reporter: Paulo Cristovão de Araújo Silva Filho
> Priority: Major
> Attachments: image-2026-03-28-14-55-26-463.png
>
>
> Implement Jakarta Persistence API 3.2 as prescribed by
> [specification|https://jakarta.ee/specifications/persistence/3.2/] and
> required by Jakarta EE 11.
> This change requires JDK17 or higher compatibility and needs considerable
> checks.
> I've already pushed a branch (WIP) without the proper API bump, focusing on
> updating dependencies while keeping the project passing its current tests at
> least in default profile.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)