Package spring.tenant
Class MultiTenantConnectionProviderImpl
java.lang.Object
org.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider<String>
spring.tenant.MultiTenantConnectionProviderImpl
- All Implemented Interfaces:
Serializable
,org.hibernate.engine.jdbc.connections.spi.MultiTenantConnectionProvider<String>
,org.hibernate.service.Service
,org.hibernate.service.spi.Wrapped
public class MultiTenantConnectionProviderImpl
extends org.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider<String>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
protected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
selectConnectionProvider
(String tenant) Methods inherited from class org.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider
getAnyConnection, getConnection, isUnwrappableAs, releaseAnyConnection, releaseConnection, supportsAggressiveRelease, unwrap
-
Constructor Details
-
MultiTenantConnectionProviderImpl
public MultiTenantConnectionProviderImpl()
-
-
Method Details
-
getAnyConnectionProvider
protected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider getAnyConnectionProvider()- Specified by:
getAnyConnectionProvider
in classorg.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider<String>
-
selectConnectionProvider
protected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider selectConnectionProvider(String tenant) - Specified by:
selectConnectionProvider
in classorg.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider<String>
-