Environment.MULTI_TENANT and createSQLQuery() not found hibernate 6.1.6Final

Environment is an internal class. You should rather use AvailableSettings on which all settings are declared. The MULTI_TENANT option was dropped as it was unnecessary. You can just omit that.
createSQLQuery was deprecated since version 5.2 and replaced with createNativeQuery.

2 Likes