Log is spammed with warnings after migration from Hibernate 6.6 (Wildfly 39) to 7.3 (Wildfly 40)

We migrated our application from Hibernate 6.6 (Wildfly 39) to 7.3 (Wildfly 40). With Hibernate 7.3 the logs are spammed with warnings:

WARN org.hibernate.orm.session - HHH90010101: Closing shared session with unprocessed transaction completion actions
WARN org.hibernate.orm.session - HHH90010108: Closing session with unprocessed clean up bulk operations, forcing their execution

This always happens when createNativeQuery is called with executeUpdate.

This issue has been reported in HHH-20428 recently.

Can we ignore these warnings (e.g. by decreasing the session logger log level) or is this a real bug in Hibernate? Our application works fine so far with Hibernate 7.3.

You can watch the Jira issue for updates. We will investigate this.