@CompileStatic @Slf4j class DefaultSchemaHandler extends Object implements SchemaHandler
Resolves the schema names
| Type | Name and description |
|---|---|
String |
createSchemaStatement |
String |
defaultSchemaName |
String |
useSchemaStatement |
| Constructor and description |
|---|
DefaultSchemaHandler() |
DefaultSchemaHandler(String useSchemaStatement, String createSchemaStatement, String defaultSchemaName) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
createSchema(Connection connection, String name) |
|
Collection<String> |
resolveSchemaNames(javax.sql.DataSource dataSource) |
|
void |
useDefaultSchema(Connection connection) |
|
void |
useSchema(Connection connection, String name) |
Groovy Documentation