public abstract class DatabasePopulatorUtils extends Object
DatabasePopulator.| Modifier and Type | Method and Description |
|---|---|
static reactor.core.publisher.Mono<Void> |
execute(DatabasePopulator populator,
ConnectionFactory connectionFactory)
Execute the given
DatabasePopulator against the given ConnectionFactory. |
public static reactor.core.publisher.Mono<Void> execute(DatabasePopulator populator, ConnectionFactory connectionFactory) throws DataAccessException
DatabasePopulator against the given ConnectionFactory.populator - the DatabasePopulator to execute.connectionFactory - the ConnectionFactory to execute against.Mono that initiates DatabasePopulator.populate(Connection) and is notified upon completion.DataAccessExceptionCopyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.