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 Details

    • MultiTenantConnectionProviderImpl

      public MultiTenantConnectionProviderImpl()
  • Method Details

    • getAnyConnectionProvider

      protected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider getAnyConnectionProvider()
      Specified by:
      getAnyConnectionProvider in class org.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider<String>
    • selectConnectionProvider

      protected org.hibernate.engine.jdbc.connections.spi.ConnectionProvider selectConnectionProvider(String tenant)
      Specified by:
      selectConnectionProvider in class org.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider<String>