Polishing

This commit is contained in:
Sam Brannen
2024-02-16 11:40:38 +01:00
parent fc9a118406
commit b6df5a677e
8 changed files with 69 additions and 70 deletions

View File

@@ -17,7 +17,7 @@
package org.springframework.jdbc.datasource.embedded;
/**
* A {@link EmbeddedDatabaseConfigurer} delegate that can be used to customize
* An {@link EmbeddedDatabaseConfigurer} delegate that can be used to customize
* the embedded database.
*
* @author Stephane Nicoll

View File

@@ -53,8 +53,8 @@ public abstract class EmbeddedDatabaseConfigurers {
}
/**
* Customize the default configurer for the given embedded database type. The
* {@code customizer} operator typically uses
* Customize the default configurer for the given embedded database type.
* <p>The {@code customizer} typically uses
* {@link EmbeddedDatabaseConfigurerDelegate} to customize things as necessary.
* @param type the {@linkplain EmbeddedDatabaseType embedded database type}
* @param customizer the customizer to return based on the default

View File

@@ -45,11 +45,11 @@ import org.springframework.util.Assert;
* for the database.
* <li>Call {@link #setDatabaseName} to set an explicit name for the database.
* <li>Call {@link #setDatabaseType} to set the database type if you wish to
* use one of the supported types with their default settings.
* use one of the pre-supported types with its default settings.
* <li>Call {@link #setDatabaseConfigurer} to configure support for a custom
* embedded database type, or
* {@linkplain EmbeddedDatabaseConfigurers#customizeConfigurer customize} the
* default of a supported types.
* defaults for one of the pre-supported types.
* <li>Call {@link #setDatabasePopulator} to change the algorithm used to
* populate the database.
* <li>Call {@link #setDataSourceFactory} to change the type of
@@ -128,7 +128,7 @@ public class EmbeddedDatabaseFactory {
/**
* Set the type of embedded database to use.
* <p>Call this when you wish to configure one of the pre-supported types
* with their default settings.
* with its default settings.
* <p>Defaults to HSQL.
* @param type the database type
*/