@groovy.transform.CompileStatic class MultiTenantConnection extends java.lang.Object implements java.sql.Connection
Allows restoring the target schema prior to releasing the connection to the pool in Multi-Tenant environment
Modifiers | Name | Description |
---|---|---|
private SchemaHandler |
schemaHandler |
|
private java.sql.Connection |
target |
Type | Name and description |
---|---|
SchemaHandler |
schemaHandler |
java.sql.Connection |
target |
Constructor and description |
---|
MultiTenantConnection
(java.sql.Connection target, SchemaHandler schemaHandler) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
close() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation