interface SchemaHandler
A resolver that helps resolve information about the database schema. Required by multi tenancy support
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract void |
createSchema(java.sql.Connection connection, java.lang.String name)Creates the given schema. |
|
abstract java.util.Collection<java.lang.String> |
resolveSchemaNames(javax.sql.DataSource dataSource)
|
|
abstract void |
useDefaultSchema(java.sql.Connection connection)Uses the given schema. |
|
abstract void |
useSchema(java.sql.Connection connection, java.lang.String name)Uses the given schema. |
Creates the given schema. Defaults to "CREATE SCHEMA %s"
Uses the given schema. Defaults to "SET SCHEMA PUBLIC"
Uses the given schema. Defaults to "SET SCHEMA %s"