From ce836fa52280532c2365670ce1f3f13d7fab12c8 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Sun, 10 Jul 2016 20:56:40 +0200 Subject: [PATCH] Spring JPA: getting ready for test with H2 and docker --- SpringJava/JPA/pom.xml | 12 +++++++++ .../resources/datasource-test-configuration.xml | 29 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 SpringJava/JPA/src/test/resources/datasource-test-configuration.xml diff --git a/SpringJava/JPA/pom.xml b/SpringJava/JPA/pom.xml index aebecc9..e7137b6 100644 --- a/SpringJava/JPA/pom.xml +++ b/SpringJava/JPA/pom.xml @@ -243,6 +243,18 @@ 2.0.11-beta test + + org.springframework + spring-test + ${spring.version} + test + + + com.h2database + h2 + 1.4.192 + test + diff --git a/SpringJava/JPA/src/test/resources/datasource-test-configuration.xml b/SpringJava/JPA/src/test/resources/datasource-test-configuration.xml new file mode 100644 index 0000000..75daa1e --- /dev/null +++ b/SpringJava/JPA/src/test/resources/datasource-test-configuration.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + -- 2.1.4