summaryrefslogtreecommitdiffstats
path: root/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml
blob: 9af54559280ff5f05b478601af4bb3aaf52ebf16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8" ?>
<persistence version="2.1"
	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">

	<persistence-unit name="OperationsHistoryPU"
		transaction-type="RESOURCE_LOCAL">
		<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
		<!-- <jar-file>packedEntity.jar</jar-file> -->
		<class>org.onap.policy.controlloop.eventmanager.OperationsHistoryDbEntry</class>
		<properties>
			<property name="eclipselink.ddl-generation" value="create-or-extend-tables" />
			<property name="javax.persistence.jdbc.driver" value="org.mariadb.jdbc.Driver" />
			<property name="eclipselink.logging.level" value="WARNING" />
		</properties>
	</persistence-unit>
</persistence>