diff --git a/org.springframework.jdbc/template.mf b/org.springframework.jdbc/template.mf
index 3c71b79dd82..0753942f496 100644
--- a/org.springframework.jdbc/template.mf
+++ b/org.springframework.jdbc/template.mf
@@ -17,7 +17,7 @@ Import-Template:
javax.xml.*;version="0";resolution:=optional,
org.h2.*;version="[1.8.0, 2.0.0)";resolution:=optional,
org.hsqldb.*;version="[1.0.0, 2.0.0)";resolution:=optional,
- org.apache.derby.*;version="[10.5.1, 10.6.0)";resolution:=optional,
+ org.apache.derby.*;version="[10.5.1000001.764942, 10.6.0)";resolution:=optional,
org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
org.springframework.beans.*;version="[3.0.0, 3.0.1)",
org.springframework.core.*;version="[3.0.0, 3.0.1)",
diff --git a/spring-framework-reference/src/jdbc.xml b/spring-framework-reference/src/jdbc.xml
index 5af6338fcb0..c9eaf3f4367 100644
--- a/spring-framework-reference/src/jdbc.xml
+++ b/spring-framework-reference/src/jdbc.xml
@@ -2630,8 +2630,8 @@ SqlTypeValue value = new AbstractSqlTypeValue() {
The org.springframework.jdbc.datasource.embedded
package provides support for embedded Java database engines. Support for
- HSQL and H2 is provided natively. There is
+ HSQL, H2, and Derby is provided natively. There is
also an extensible API for plugging in new embedded database types and
DataSource implementations.
@@ -2700,5 +2700,59 @@ SqlTypeValue value = new AbstractSqlTypeValue() {
community at jira.springframework.org.
+
+ Using HSQL
+
+ Support for HSQL 1.0.0 to 2.0.0 is provided.
+ HSQL is the default database embedded database that will be used if no type is specified explicitly.
+ To specify HSQL explicitly, set the type attribute of the embedded-database tag to HSQL.
+ If using the builder API, call the type(EmbeddedDatabaseType) method with EmbeddedDatabaseType.HSQL.
+
+
+
+ Using H2
+
+ Support for H2 1.8.0 to 2.0.0 is provided.
+ To enable H2, set the type attribute of the embedded-database tag to H2.
+ If using the builder API, call the type(EmbeddedDatabaseType) method with EmbeddedDatabaseType.H2.
+
+
+
+ Using Derby
+
+ Support for Apache Derby 10.5.1.1 to 10.6.0 is provided.
+ To enable Derby, set the type attribute of the embedded-database tag to Derby.
+ If using the builder API, call the type(EmbeddedDatabaseType) method with EmbeddedDatabaseType.Derby.
+
+
+
+ Unit testing data access logic with an EmbeddedDatabase
+
+ Embedded databases provide a lightweight way to test data access code.
+ A basic data access unit test template that uses an embedded database is provided below:
+
+
+
\ No newline at end of file
diff --git a/spring-framework-reference/src/new-in-3.xml b/spring-framework-reference/src/new-in-3.xml
index 566eb449287..690e934360a 100644
--- a/spring-framework-reference/src/new-in-3.xml
+++ b/spring-framework-reference/src/new-in-3.xml
@@ -453,7 +453,7 @@ public class AppConfig{
Support for embedded databases
- Convenient support for embedded Java database engines, such as HSQL and H2, is now provided.
+ Convenient support for embedded Java database engines, including HSQL, H2, and Derby, is now provided.