Skip to main content
summaryrefslogtreecommitdiffstats
blob: 162aad9341a044aed13e1ee8ef24c39e62facd88 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8" ?><!-- Copyright (c) 2004, 2010 BREDEX 
	GmbH. All rights reserved. This program and the accompanying materials are 
	made available under the terms of the Eclipse Public License v1.0 which accompanies 
	this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->

<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" xmlns="http://java.sun.com/xml/ns/persistence">
	<persistence-unit name="org.eclipse.jubula"
		transaction-type="RESOURCE_LOCAL">
		<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>

		<properties>
			<property name="eclipselink.logging.level" value="SEVERE" />
			<property name="eclipselink.weaving" value="static" />
			<property name="eclipselink.weaving.changetracking" value="false" />
			<property name="eclipselink.weaving.fetchgroups" value="false" />
			<property name="eclipselink.weaving.lazy" value="true" />
			<!-- disabled second level cache, as this may otherwise lead to some strange 
				behavior: https://bugs.eclipse.org/bugs/show_bug.cgi?id=339069 -->
			<property name="eclipselink.cache.shared.default" value="false" />
			<property name="eclipselink.session.customizer"
				value="org.eclipse.jubula.client.core.persistence.SessionCustomizer" />
			<!-- use the "old" JPQL parser due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=379221 -->
			<property name="eclipselink.jpql.parser"
				value="org.eclipse.persistence.queries.ANTLRQueryBuilder" />
		</properties>

	</persistence-unit>
</persistence>

Back to the top