You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workaround for Hibernate bug: setCurrentTenantIdentifierResolver not respected [SPR-14476] #19045
So Session opening is arguably working as designed. From my perspective, let's reduce this issue to a workaround for the setCurrentTenantIdentifierResolver bug in Hibernate.
Activity
spring-projects-issues commentedon Jul 18, 2016
Juergen Hoeller commented
As far as I'm aware, Hibernate should be doing this automatically when opening a
Session, and actually does it in 5.2.1 at least:https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java#L1094
So Session opening is arguably working as designed. From my perspective, let's reduce this issue to a workaround for the
setCurrentTenantIdentifierResolverbug in Hibernate.