Skip to content

Commit 87e58a6

Browse files
committed
Improve Javadoc for DatabasePopulator
1 parent df98490 commit 87e58a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulator.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,20 @@
2020
import java.sql.SQLException;
2121

2222
/**
23-
* Strategy used to populate a database during initialization.
23+
* Strategy used to populate, initialize, or clean up a database.
2424
*
2525
* @author Keith Donald
2626
* @author Sam Brannen
2727
* @since 3.0
2828
* @see ResourceDatabasePopulator
2929
* @see DatabasePopulatorUtils
30+
* @see DataSourceInitializer
3031
*/
3132
public interface DatabasePopulator {
3233

3334
/**
34-
* Populate the database using the provided JDBC connection.
35+
* Populate, initialize, or clean up the database using the provided JDBC
36+
* connection.
3537
* <p>Concrete implementations <em>may</em> throw an {@link SQLException} if
3638
* an error is encountered but are <em>strongly encouraged</em> to throw a
3739
* specific {@link ScriptException} instead. For example, Spring's

0 commit comments

Comments
 (0)