File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 20
20
import java .sql .SQLException ;
21
21
22
22
/**
23
- * Strategy used to populate a database during initialization .
23
+ * Strategy used to populate, initialize, or clean up a database .
24
24
*
25
25
* @author Keith Donald
26
26
* @author Sam Brannen
27
27
* @since 3.0
28
28
* @see ResourceDatabasePopulator
29
29
* @see DatabasePopulatorUtils
30
+ * @see DataSourceInitializer
30
31
*/
31
32
public interface DatabasePopulator {
32
33
33
34
/**
34
- * Populate the database using the provided JDBC connection.
35
+ * Populate, initialize, or clean up the database using the provided JDBC
36
+ * connection.
35
37
* <p>Concrete implementations <em>may</em> throw an {@link SQLException} if
36
38
* an error is encountered but are <em>strongly encouraged</em> to throw a
37
39
* specific {@link ScriptException} instead. For example, Spring's
You can’t perform that action at this time.
0 commit comments