Browse Source

embedded

conversation
Keith Donald 16 years ago
parent
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

2
org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder.java

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

2
org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseConfigurer.java

@ -23,6 +23,8 @@ import org.springframework.jdbc.datasource.SimpleDriverDataSource; @@ -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.
* Create a subclass for each database type we wish to support.
*
* TODO - introduce ConfigurableDataSource strategy for configuring connection properties?
*
* @see EmbeddedDatabaseConfigurerFactory
*/
abstract class EmbeddedDatabaseConfigurer {

Loading…
Cancel
Save