Add to 5.2 migration guide: hibernate.allow_update_outside_transaction=true to restore 5.1 behavior allowing updates without a transaction

Description

In 5.1, a native Hibernate Session allows doing updates when a transaction is not explicitly started. In 5.2, since Session extends EntityManager, this is no longer allowed by default.

To enable the 5.1 behavior, the following setting is required: hibernate.allow_update_outside_transaction=true.

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