The GitHub Actions job "Java CI" on openjpa.git/master has succeeded.
Run started by GitHub user rzo1 (triggered by rzo1).

Head commit for run:
27820206ff8e6032ad04d4fb3c85ecfd71d268c5 / Richard Zowalla 
<[email protected]>
[OPENJPA-3100] Run a stored procedure in the datastore transaction when a 
transaction is active (#326)

* [OPENJPA-3100] Run a stored procedure in the datastore transaction when a 
transaction is active

In an optimistic transaction there is no datastore transaction until the
first flush, so a stored procedure ran on a separate connection. Since
4.2.0 that connection leaves auto-commit mode when the procedure has OUT
parameters and is only committed when the result provider is closed,
which does not happen before the EntityManager closes the connection, so
the changes of the procedure were rolled back. Begin the datastore
transaction first, as native queries and bulk updates do, so that commit
and rollback of the transaction apply to the procedure.

* [OPENJPA-3100] Run the stored procedure transaction test on all databases of 
the database builds

Create the procedure for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle and
HSQLDB as well as for Derby, so that the database builds run the test.
H2 is skipped, it has no SQL procedures with OUT parameters.

* [OPENJPA-3100] Close the entity managers of the stored procedure transaction 
test with try-with-resources

Report URL: https://github.com/apache/openjpa/actions/runs/46478972940

With regards,
GitHub Actions via GitBox

Reply via email to