DatabasePopulator instead.@FunctionalInterface @Deprecated public interface DatabasePopulator
ResourceDatabasePopulator,
DatabasePopulatorUtils,
ConnectionFactoryInitializer| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
populate(Connection connection)
Deprecated.
Populate, initialize, or clean up the database using the provided R2DBC
Connection. |
reactor.core.publisher.Mono<Void> populate(Connection connection) throws ScriptException
Connection.connection - the R2DBC connection to use to populate the db; already configured and ready to use, must not be
null.Mono that initiates script execution and is notified upon completion.ScriptException - in all other error casesDatabasePopulatorUtils.execute(org.springframework.data.r2dbc.connectionfactory.init.DatabasePopulator, io.r2dbc.spi.ConnectionFactory)Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.