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(Connection connection, String name)Creates the given schema. |
|
abstract Collection<String> |
resolveSchemaNames(javax.sql.DataSource dataSource)
|
|
abstract void |
useDefaultSchema(Connection connection)Uses the given schema. |
|
abstract void |
useSchema(Connection connection, 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"