Improve Javadoc for DatabasePopulator

master
Sam Brannen 11 years ago
parent df98490f0d
commit 87e58a6d7b
  1. 6
      spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulator.java

@ -20,18 +20,20 @@ import java.sql.Connection;
import java.sql.SQLException; 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 Keith Donald
* @author Sam Brannen * @author Sam Brannen
* @since 3.0 * @since 3.0
* @see ResourceDatabasePopulator * @see ResourceDatabasePopulator
* @see DatabasePopulatorUtils * @see DatabasePopulatorUtils
* @see DataSourceInitializer
*/ */
public interface DatabasePopulator { public interface DatabasePopulator {
/** /**
* Populate the database using the provided JDBC connection. * Populate, initialize, or clean up the database using the provided JDBC
* connection.
* <p>Concrete implementations <em>may</em> throw an {@link SQLException} if * <p>Concrete implementations <em>may</em> throw an {@link SQLException} if
* an error is encountered but are <em>strongly encouraged</em> to throw a * an error is encountered but are <em>strongly encouraged</em> to throw a
* specific {@link ScriptException} instead. For example, Spring's * specific {@link ScriptException} instead. For example, Spring's

Loading…
Cancel
Save