I suspect since the tenant identifier has been set at this time, it may also prevent switching of the tenant on creation of the connection using these defaults, although this is not certain.
When using SessionFactory#withOptions() those fields are ignored. |