Add test for EntityManager#lock()

Description

With in place, the locking engine should generally be wired, and actually InfinispanDialect and EhcacheDialect seem to support some locking strategies. But there is no test for actually using EntityManager#lock() or the equivalent API on Session.

Environment

None

Assignee

Unassigned

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Minor
Configure