TM Transaction timeout handling in Hibernate does not handle remote (ejb) invocations

Description

When we added Hibernate transaction time out handling for HHH-7910, we only tested for local (ejb) invocations but didn't test with remote invocations.

A test case is here that reproduces the error that can occur when remote EJB calls are performed with the same JTA transaction. The thrown error is "org.hibernate.HibernateException: Transaction was rolled back in a different thread!"

Environment

None

Status

Assignee

Unassigned

Reporter

Scott Marlow

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure