From: Gustavo Martin Morcuende Date: Sun, 10 Jul 2016 18:56:40 +0000 (+0200) Subject: Spring JPA: getting ready for test with H2 and docker X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=ce836fa52280532c2365670ce1f3f13d7fab12c8;p=JavaForFun Spring JPA: getting ready for test with H2 and docker --- 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 @@ + + + + + + + + + + + + + + +