Class NoJdbcMultiTenantConnectionProvider<T>
- java.lang.Object
-
- org.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider<T>
-
- org.hibernate.reactive.provider.service.NoJdbcMultiTenantConnectionProvider<T>
-
- All Implemented Interfaces:
Serializable
,MultiTenantConnectionProvider<T>
,Service
,Wrapped
public class NoJdbcMultiTenantConnectionProvider<T> extends AbstractMultiTenantConnectionProvider<T>
A dummy HibernateMultiTenantConnectionProvider
which throws an exception if a JDBC connection is requested.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoJdbcMultiTenantConnectionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConnectionProvider
getAnyConnectionProvider()
protected ConnectionProvider
selectConnectionProvider(T tenantIdentifier)
-
Methods inherited from class org.hibernate.engine.jdbc.connections.spi.AbstractMultiTenantConnectionProvider
getAnyConnection, getConnection, isUnwrappableAs, releaseAnyConnection, releaseConnection, supportsAggressiveRelease, unwrap
-
-
-
-
Method Detail
-
getAnyConnectionProvider
protected ConnectionProvider getAnyConnectionProvider()
- Specified by:
getAnyConnectionProvider
in classAbstractMultiTenantConnectionProvider<T>
-
selectConnectionProvider
protected ConnectionProvider selectConnectionProvider(T tenantIdentifier)
- Specified by:
selectConnectionProvider
in classAbstractMultiTenantConnectionProvider<T>
-
-