Project

General

Profile

Bug #2077

com.zfabrik.db.data connections are not enlisted with JTA but workunit

Added by Henning Blohm 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
z2-base
Target version:
Start date:
13.08.2020
Due date:
% Done:

0%

Estimated time:
origin:

Description

This leads to follow-up failures with Hibernate DDL isolation that sets connections to autocommit=true.

In this case, Hibernate (correctly) assumes that it is at liberty to set any connection to autocommit=true because it did not find any transaction to resume.

That however leads to an autocommit transaction in the workunit.

Suggestion:

  • Enlist connections with the Transaction rather than the workunit
  • Refuse autocommit=true when in a transaction

No data to display

Also available in: Atom PDF