Hello,
I faced with the same issue on latest hibernate. I user Spring ver "3.2.3.RELEASE" and Hibernate ver "4.2.3.Final". I would like to implement multi-tenancy in my application by when I add hibernate properties: 1. hibernate.multi_tenant_connection_provider 2. hibernate.tenant_identifier_resolver
to my config, I see that NPE goes. I downloaded source code and see that in last hibernate code in class org.hibernate.engine.jdbc.internal.JdbcServicesImpl connectionProvider always will be null in case MultiTenancyStrategy.NONE != multiTenancyStrategy.
Could you please help me to solve this problem? Are you going to fix this issue?
|