-
Notifications
You must be signed in to change notification settings - Fork 160
/
persistence.xml
39 lines (31 loc) · 1.79 KB
/
persistence.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2017, 2021 Eurotech and/or its affiliates and others
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
which is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
Eurotech - initial API and implementation
-->
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit name="kapua-endpoint" transaction-type="RESOURCE_LOCAL">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<class>org.eclipse.kapua.service.endpoint.internal.EndpointInfoImpl</class>
<class>org.eclipse.kapua.service.endpoint.internal.EndpointUsageImpl</class>
<class>org.eclipse.kapua.service.endpoint.internal.cors.CorsEndpointInfoImpl</class>
<!-- Base classes and External classes -->
<class>org.eclipse.kapua.commons.model.id.KapuaEid</class>
<class>org.eclipse.kapua.commons.model.AbstractKapuaEntity</class>
<class>org.eclipse.kapua.commons.model.AbstractKapuaNamedEntity</class>
<class>org.eclipse.kapua.commons.model.AbstractKapuaUpdatableEntity</class>
<class>org.eclipse.kapua.commons.configuration.ServiceConfigImpl</class>
<properties>
<property name="javax.persistence.lock.timeout" value="1000"/>
<property name="eclipselink.logging.logger" value="org.eclipse.persistence.logging.slf4j.SLF4JLogger"/>
</properties>
</persistence-unit>
</persistence>