From 87e58a6d7b7209f5f932b0d34e509452c62405d6 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 18 Mar 2014 12:52:59 +0100 Subject: [PATCH] Improve Javadoc for DatabasePopulator --- .../jdbc/datasource/init/DatabasePopulator.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulator.java b/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulator.java index d7e6d550f6..b6b9f2d205 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulator.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulator.java @@ -20,18 +20,20 @@ import java.sql.Connection; import java.sql.SQLException; /** - * Strategy used to populate a database during initialization. + * Strategy used to populate, initialize, or clean up a database. * * @author Keith Donald * @author Sam Brannen * @since 3.0 * @see ResourceDatabasePopulator * @see DatabasePopulatorUtils + * @see DataSourceInitializer */ public interface DatabasePopulator { /** - * Populate the database using the provided JDBC connection. + * Populate, initialize, or clean up the database using the provided JDBC + * connection. *

Concrete implementations may throw an {@link SQLException} if * an error is encountered but are strongly encouraged to throw a * specific {@link ScriptException} instead. For example, Spring's