This commit is contained in:
Keith Donald 2009-04-22 17:47:44 +00:00
parent 2e45a19be3
commit b1000cd5c6
2 changed files with 4 additions and 0 deletions

View File

@ -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 {

View File

@ -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 {