summaryrefslogtreecommitdiffstats
path: root/vid-ext-services-simulator/src/main/resources/META-INF/persistence.xml
blob: 448b5b380f1508ba2fd201a1461ca4e752fd5e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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="none" />
            <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>