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.

I also found a lot of warning about HHH90010101 and HHH90010108. My environment:

Payara community 7.2026.5, Jakarta EE 11, Hibernate ORM 7.4.0.Final, Hibernate Search 8.4.0.Final, and using CDI without EJB. There is no show on the method without transactional.I upgrade from Hibernate 6.6 on Jakarta EE 10 to HB 7. The app can persist, merge, delete without any issue.