Skip to main content
summaryrefslogblamecommitdiffstats
blob: a91eb213341a00bae72f2163e8bb71a57bc4a3e0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                                                                          
 




                                                                                                                            
                                                                                    


                                                             
                            
                                                                                    



                                                                                            






                                                                                                     

                                                                                          


                                                                                                       


                                                                                            


                           
<?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="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="org.eclipse.jubula" transaction-type="RESOURCE_LOCAL">
		<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
		
		<mapping-file>META-INF/orm.xml</mapping-file>
		
		<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: http://eclip.se/339069
			    We are not capable of using this due to a lot unresolved persistance
			    problems. This is mostly happening when multipe users are working
			    on one project. Also if we are having checks for this multi user scenario
			    the performance might even be not better.
		    -->
			<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 http://eclip.se/379221 -->
			<property name="eclipselink.jpql.parser"
				value="org.eclipse.persistence.queries.ANTLRQueryBuilder" />
		</properties>

	</persistence-unit>
</persistence>

Back to the top