Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-orm
Commit: e391d8577e4fd94c330119dc54747c3f226f9313
https://github.com/hibernate/hibernate-orm/commit/e391d8577e4fd94c330119d...
Author: msvticket <Marten.Svantesson(a)ticket.se>
Date: 2017-09-26 (Tue, 26 Sep 2017)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/MultiTenantConnectionProviderInitiator.java
M
hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentInitiator.java
M
hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
A
hibernate-core/src/test/java/org/hibernate/test/multitenancy/discriminator/DiscriminatorMultiTenancyTest.java
Log Message:
-----------
HHH-11980 MultiTenantConnectionProvider is required for
MultiTenancyStrategy.DISCRIMINATOR
Instead of checking that multiTenancyStrategy is NONE start using
MultiTenancyStrategy.requiresMultiTenantConnectionProvider to distinguish whether
MultiTenantConnectionProvider is to be used.