WildFly integration test, HibernateNativeAPINaturalIdTestCase, fails when security manager is enabled

Description

We tried to fix it in: https://hibernate.atlassian.net/browse/HHH-12542 but it was not the right approach.

We reverted everything in https://hibernate.atlassian.net/browse/HHH-12931 .

But at some point, we will need to take care of the issue so creating this new one.

Environment

None

Assignee

Unassigned

Reporter

Guillaume Smet

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure