Class R2dbcScriptDatabaseInitializer

java.lang.Object
org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer
org.springframework.boot.r2dbc.init.R2dbcScriptDatabaseInitializer
All Implemented Interfaces:
Aware, InitializingBean, ResourceLoaderAware
Direct Known Subclasses:
SqlR2dbcScriptDatabaseInitializer

public class R2dbcScriptDatabaseInitializer extends AbstractScriptDatabaseInitializer
An InitializingBean that initializes a database represented by an R2DBC ConnectionFactory.
Since:
2.5.0
Author:
Andy Wilkinson
  • Constructor Details

    • R2dbcScriptDatabaseInitializer

      public R2dbcScriptDatabaseInitializer(io.r2dbc.spi.ConnectionFactory connectionFactory, DatabaseInitializationSettings settings)
      Creates a new R2dbcScriptDatabaseInitializer that will initialize the database recognized by the given connectionFactory using the given settings.
      Parameters:
      connectionFactory - connectionFactory for the database
      settings - initialization settings
  • Method Details