diff --git a/spring-boot-samples/spring-boot-sample-data-rest/pom.xml b/spring-boot-samples/spring-boot-sample-data-rest/pom.xml
index 75e2cde066..fcb8440cea 100644
--- a/spring-boot-samples/spring-boot-sample-data-rest/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-data-rest/pom.xml
@@ -28,8 +28,8 @@
spring-boot-starter-data-rest
- org.hsqldb
- hsqldb
+ com.h2database
+ h2
runtime
diff --git a/spring-boot-samples/spring-boot-sample-data-rest/src/test/resources/application-scratch.properties b/spring-boot-samples/spring-boot-sample-data-rest/src/test/resources/application-scratch.properties
index 1d31022540..3dfbdef810 100644
--- a/spring-boot-samples/spring-boot-sample-data-rest/src/test/resources/application-scratch.properties
+++ b/spring-boot-samples/spring-boot-sample-data-rest/src/test/resources/application-scratch.properties
@@ -1 +1 @@
-spring.datasource.url: jdbc:hsqldb:mem:restdb
+spring.datasource.url: jdbc:h2:mem:restdb