Class R2dbcSchemaGenerator

java.lang.Object
io.micronaut.data.r2dbc.config.R2dbcSchemaGenerator

@Context @Internal public class R2dbcSchemaGenerator extends Object
Schema generation for R2DBC.
Since:
1.0.0
Author:
graemerocher
  • Constructor Details

    • R2dbcSchemaGenerator

      public R2dbcSchemaGenerator(List<DataR2dbcConfiguration> configurations, R2dbcSchemaHandler schemaHandler)
      Default constructor.
      Parameters:
      configurations - The configurations.
      schemaHandler - The schema handler
  • Method Details

    • createSchema

      @PostConstruct protected void createSchema(io.micronaut.context.BeanLocator beanLocator)
      Creates the schema.
      Parameters:
      beanLocator - The bean locator