We're updating the issue view to help you get more done. 

Introduce a configuration option to allow out of transaction updates

Description

With the "native" Session now being effectively an EntityManager, this now behaves in all effects like an EntityManager and this includes refusing to flush any update out of a transaction boundary. Such a "strict" check was previously only applied to users of the HEM module but now it applies to Session too because of the inheritance.

This is probably a good thing, although it might be a migration issue for users of the native Session API so it might be nice to introduce a property which would allow people to still shoot themselves in the feet if they highly wish for it.

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major