SessionBuilder.connectionHandlingMode is ignored

Description

The connection handling mode passed to this method is only ever used to log something at the debug level. Other than that, it has no effect whatsoever.
I believe it should be retrieved in org.hibernate.internal.JdbcSessionContextImpl#JdbcSessionContextImpl to initialize the field connectionHandlingMode instead.

Environment

None
Fixed

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Priority

Major
Configure