summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources/hibernate.cfg.xml
diff options
context:
space:
mode:
authorSourabh Sourabh <sourabh.sourabh@est.tech>2023-01-26 12:03:10 +0000
committerGerrit Code Review <gerrit@onap.org>2023-01-26 12:03:10 +0000
commit528cf81a398b679e17ebccc446b759548722e7cc (patch)
treef20e1675fe91b80c585e62ac961e3f0347e00717 /integration-test/src/test/resources/hibernate.cfg.xml
parent16e2358e3fef5fc19f7bf9b57f682f580cff404e (diff)
parent665e22472f9658a4d439da0323e6e8760ec60840 (diff)
Merge "Springboot Integration tests improvements"
Diffstat (limited to 'integration-test/src/test/resources/hibernate.cfg.xml')
-rw-r--r--integration-test/src/test/resources/hibernate.cfg.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/integration-test/src/test/resources/hibernate.cfg.xml b/integration-test/src/test/resources/hibernate.cfg.xml
new file mode 100644
index 0000000000..513c00ad2a
--- /dev/null
+++ b/integration-test/src/test/resources/hibernate.cfg.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-configuration PUBLIC
+ "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+ "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+ <session-factory>
+ <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
+ <property name="hibernate.connection.url">${DB_URL}</property>
+ <property name="hibernate.connection.username">${DB_USERNAME}</property>
+ <property name="hibernate.connection.password">${DB_PASSWORD}</property>
+ <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQL82Dialect</property>
+ <property name="show_sql">true</property>
+ <property name="hibernate.hbm2ddl.auto">none</property>
+ </session-factory>
+</hibernate-configuration> \ No newline at end of file