aboutsummaryrefslogtreecommitdiffstats
path: root/model/basic-model/src/test/resources
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-04-16 13:32:48 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-16 13:32:48 +0000
commitad9e9c590b5aadbd5f95fb6f93718f7922762cf1 (patch)
tree514aa3ccc88c6b4fea236e57450ff2d2f8d56b8c /model/basic-model/src/test/resources
parent00ee73f723560c825818eab41a4d3db9785627d4 (diff)
parent3cb682fa71a1749fb99a47d7c8ede2b8984e2c07 (diff)
Merge "Fix Security and Unit Test DB issues"
Diffstat (limited to 'model/basic-model/src/test/resources')
-rw-r--r--model/basic-model/src/test/resources/META-INF/persistence.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/model/basic-model/src/test/resources/META-INF/persistence.xml b/model/basic-model/src/test/resources/META-INF/persistence.xml
index 68f03e8e5..01a8989bb 100644
--- a/model/basic-model/src/test/resources/META-INF/persistence.xml
+++ b/model/basic-model/src/test/resources/META-INF/persistence.xml
@@ -33,10 +33,8 @@
<class>org.onap.policy.apex.model.basicmodel.concepts.DummyEntity</class>
<properties>
- <property name="javax.persistence.jdbc.url" value="jdbc:derby:memory:apex_test" />
- <property name="javax.persistence.target-database" value="Derby" />
- <property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.EmbeddedDriver" />
-
+ <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:testdb" />
+ <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
<property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
<property name="eclipselink.ddl-generation.output-mode" value="database"/>
<property name="eclipselink.logging.level" value="INFO" />