blob: 9e4453feb3f622d489c359a74a6f443b4f354ec6 [file] [log] [blame]
Ittay Sterncb8baa22019-03-11 15:50:07 +02001<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
3 http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
4 version="2.1">
5
6 <persistence-unit name="vid" transaction-type="RESOURCE_LOCAL">
7 <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
8
9 <properties>
10 <!-- Hibernate properties -->
11 <property name="hibernate.default_schema" value="vid_portal" />
12 <property name="hibernate.show_sql" value="false" />
13 <property name="hibernate.format_sql" value="false" />
14 <property name="hibernate.dialect" value="org.hibernate.dialect.MariaDB103Dialect" />
15 <property name="hibernate.hbm2ddl.auto" value="validate" />
16 <property name="hibernate.connection.driver_class" value="org.mariadb.jdbc.Driver"/>
17 <property name="hibernate.connection.username" value="euser"/>
18 <property name="hibernate.connection.password" value="euser"/>
19 <property name="hibernate.connection.url" value="jdbc:mariadb://localhost:3306/vid_portal"/>
20 <property name="hibernate.id.new_generator_mappings" value="false"/>
21 </properties>
22 </persistence-unit>
23</persistence>