When we set hibernate.transaction.auto_close_session to true, it is throwing java.lang.IllegalStateException: Session/EntityManager is closed .
We are using hibernate 5.3.18.Final and spring 5.3.28 versions.
When we set hibernate.transaction.auto_close_session to false above error is not seen. However we want that property to be true in our codebase.
Could you please confirm the above error is resolved in which versions of hibernate? or is it safe to ignore the above error?
Thanks in Advance.