What has been changed from Hibernate 5.6 to 6.6 with regards to ConnectionReleaseMode

I upgrade my Hibernate project from 5.6 to 6.6 and in 5.6 I had the property on_close in my hibernate.cfg.xml. is it still valid? I need this session behavior in Hibernte 6.6 as well