Package io.micronaut.data.r2dbc.config
Class R2dbcSchemaGenerator
java.lang.Object
io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator
Schema generation for R2DBC.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorDescriptionR2dbcSchemaGenerator
(List<DataR2dbcConfiguration> configurations, R2dbcSchemaHandler schemaHandler) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createSchema
(io.micronaut.context.BeanLocator beanLocator) Creates the schema.
-
Constructor Details
-
R2dbcSchemaGenerator
public R2dbcSchemaGenerator(List<DataR2dbcConfiguration> configurations, R2dbcSchemaHandler schemaHandler) Default constructor.- Parameters:
configurations
- The configurations.schemaHandler
-
-
-
Method Details
-
createSchema
@PostConstruct protected void createSchema(io.micronaut.context.BeanLocator beanLocator) Creates the schema.- Parameters:
beanLocator
- The bean locator
-