Example usage for org.hibernate.engine.jdbc.connections.spi AbstractDataSourceBasedMultiTenantConnectionProviderImpl subclass-usage

List of usage examples for org.hibernate.engine.jdbc.connections.spi AbstractDataSourceBasedMultiTenantConnectionProviderImpl subclass-usage

Introduction

In this page you can find the example usage for org.hibernate.engine.jdbc.connections.spi AbstractDataSourceBasedMultiTenantConnectionProviderImpl subclass-usage.

Usage

From source file com.blogspot.hwellmann.multitenancy.hibernate.SchemaMultiTenantConnectionProvider.java

/**
 * @author Harald Wellmann
 *
 */
public class SchemaMultiTenantConnectionProvider extends AbstractDataSourceBasedMultiTenantConnectionProviderImpl
        implements ServiceRegistryAwareService, Stoppable {

From source file com.wms.multitenant.tenant.provider.MultiTenantConnectionProviderImpl.java

/**
 *
 * @author Mazen
 * @company WeMake{}Stuff
 */
@Component

From source file eu.supersede.fe.multitenant.DataSourceBasedMultiTenantConnectionProviderImpl.java

/**
 * Class used to dynamically change at runtime the database to be used based on the identifier of the current tenant.
 */
@SuppressWarnings("serial")
@Component
@PropertySource("file:../conf/multitenancy.properties")

From source file org.horizontaldb.shard.hibernate.TenantConnectionProvider.java

@Component("defaultTenantConnectionProvider")
public class TenantConnectionProvider extends AbstractDataSourceBasedMultiTenantConnectionProviderImpl
        implements Stoppable {
    private static final long serialVersionUID = 8458388188894077307L;
    private static final Logger LOG = LoggerFactory.getLogger(TenantConnectionProvider.class);