diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-03-11 15:50:07 +0200 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-03-11 16:05:19 +0200 |
commit | cb8baa2054a427becd39e4031798375efcc9027c (patch) | |
tree | aad2b6cc0a6afcc2627a84868d74ffb736210e24 /vid-ext-services-simulator/src/main/resources/META-INF/persistence.xml | |
parent | e2617e9d5b82f2605e1660750a0dae96a077d83f (diff) |
Merge simulator from ECOMP's repository
Reference commit in ECOMP: 8e92a8c6
Issue-ID: VID-378
Change-Id: Ifd87e07db55a760fc94c582758a7413103b5fdd8
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-ext-services-simulator/src/main/resources/META-INF/persistence.xml')
-rw-r--r-- | vid-ext-services-simulator/src/main/resources/META-INF/persistence.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vid-ext-services-simulator/src/main/resources/META-INF/persistence.xml b/vid-ext-services-simulator/src/main/resources/META-INF/persistence.xml new file mode 100644 index 000000000..9e4453feb --- /dev/null +++ b/vid-ext-services-simulator/src/main/resources/META-INF/persistence.xml @@ -0,0 +1,23 @@ +<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence + http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd" + version="2.1"> + + <persistence-unit name="vid" transaction-type="RESOURCE_LOCAL"> + <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> + + <properties> + <!-- Hibernate properties --> + <property name="hibernate.default_schema" value="vid_portal" /> + <property name="hibernate.show_sql" value="false" /> + <property name="hibernate.format_sql" value="false" /> + <property name="hibernate.dialect" value="org.hibernate.dialect.MariaDB103Dialect" /> + <property name="hibernate.hbm2ddl.auto" value="validate" /> + <property name="hibernate.connection.driver_class" value="org.mariadb.jdbc.Driver"/> + <property name="hibernate.connection.username" value="euser"/> + <property name="hibernate.connection.password" value="euser"/> + <property name="hibernate.connection.url" value="jdbc:mariadb://localhost:3306/vid_portal"/> + <property name="hibernate.id.new_generator_mappings" value="false"/> + </properties> + </persistence-unit> +</persistence>
\ No newline at end of file |