public class SchemaBasedMultiTenancy.ConnectionProviderWithSchemaPerTenant extends Object implements ConnectionProvider
| Constructor and Description |
|---|
ConnectionProviderWithSchemaPerTenant(ConnectionProvider delegate,
String tenant) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(Connection conn) |
Connection |
getConnection() |
boolean |
isUnwrappableAs(Class unwrapType) |
boolean |
supportsAggressiveRelease() |
<T> T |
unwrap(Class<T> unwrapType) |
public ConnectionProviderWithSchemaPerTenant(ConnectionProvider delegate, String tenant)
public Connection getConnection() throws SQLException
getConnection in interface ConnectionProviderSQLExceptionpublic void closeConnection(Connection conn) throws SQLException
closeConnection in interface ConnectionProviderSQLExceptionpublic boolean supportsAggressiveRelease()
supportsAggressiveRelease in interface ConnectionProviderpublic boolean isUnwrappableAs(Class unwrapType)
isUnwrappableAs in interface WrappedCopyright © 2022 MANYDESIGNS s.r.l.. All rights reserved.