Improve documentation for JTA configuration in user guide and 5.0 migration guide

Description

The section about JTA configuration in the 5.0, 5.1, and 5.2 user guides and the 5.0 migration guide do not explicitly state that native Hibernate (non-JPA) applications must have the property setting, hibernate.transaction.coordinator_class=jta.

The default for native Hibernate applications is hibernate.transaction.coordinator_class=jdbc, which will cause problems with JTA resources.

JPA applications do not need to set hibernate.transaction.coordinator_class, because Hibernate will automatically use the proper transaction coordinator based on the transaction type for the persistence unit.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure