master
Keith Donald 16 years ago
parent 2e45a19be3
commit b1000cd5c6
  1. 2
      org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder.java
  2. 2
      org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseConfigurer.java

@ -29,6 +29,8 @@ import org.springframework.core.io.ResourceLoader;
* db.shutdown(); * db.shutdown();
* </pre> * </pre>
* *
* TODO - should we replace schema/testdata with more general 'script' method?
*
* @author Keith Donald * @author Keith Donald
*/ */
public class EmbeddedDatabaseBuilder { public class EmbeddedDatabaseBuilder {

@ -23,6 +23,8 @@ import org.springframework.jdbc.datasource.SimpleDriverDataSource;
* Encapsulates the configuration required to create, connect to, and shutdown a specific type of embedded database such as HSQLdb or H2. * Encapsulates the configuration required to create, connect to, and shutdown a specific type of embedded database such as HSQLdb or H2.
* Create a subclass for each database type we wish to support. * Create a subclass for each database type we wish to support.
* *
* TODO - introduce ConfigurableDataSource strategy for configuring connection properties?
*
* @see EmbeddedDatabaseConfigurerFactory * @see EmbeddedDatabaseConfigurerFactory
*/ */
abstract class EmbeddedDatabaseConfigurer { abstract class EmbeddedDatabaseConfigurer {

Loading…
Cancel
Save