A resolver that helps resolve information about the database schema. Required by multi tenancy support
Type Params | Return Type | Name and description |
---|---|---|
|
void |
createSchema(java.sql.Connection connection, java.lang.String name) Creates the given schema. |
|
java.util.Collection<java.lang.String> |
resolveSchemaNames(javax.sql.DataSource dataSource) @return Resolves the schema names |
|
void |
useDefaultSchema(java.sql.Connection connection) Uses the given schema. |
|
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"