[ 
https://issues.apache.org/jira/browse/OPENJPA-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080589#comment-18080589
 ] 

ASF subversion and git services commented on OPENJPA-2940:
----------------------------------------------------------

Commit e05eee7f75d10d36031f14f1ea2a51e36ba803c4 in openjpa's branch 
refs/heads/OPENJPA-2940 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=e05eee7f7 ]

[OPENJPA-2940] Accept both per-row and first-row-of-batch failure reports on 
MariaDB

MariaDB changed batch-failure reporting semantics between server 11.4
and 11.8 (with Connector/J 3.5.4 unchanged): 11.4 reports the actual
duplicate row, 11.8 reports the first row of the failing batch, same
as Oracle/Postgres. Commit 83e933a63 assumed per-row was the future
behaviour and removed the MariaDB branch; that assumption does not
hold on 11.8.

Restore the isMariaDB flag and broaden the MariaDB assertion to accept
either outcome, using the same pattern already in place for Oracle 18.
Verified green against MariaDB 11.4 and 11.8 under Connector/J 3.5.4.


> 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)

Reply via email to